Changeset 3128 in subversion


Ignore:
Timestamp:
Nov 23, 2009 5:46:49 AM (3 years ago)
Author:
alec
Message:
  • Fix unicode para and line separators in javascript response (#1486310)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r3119 r3128  
    22=========================== 
    33 
     4- Fix unicode para and line separators in javascript response (#1486310) 
    45- additional_message_headers: allow unsetting headers, support plugin's config file (#1486268) 
    56- Fix displaying of hidden directories in skins list (#1486301) 
  • trunk/roundcubemail/program/include/main.inc

    r3104 r3128  
    486486 
    487487    for ($c=160; $c<256; $c++)  // can be increased to support more charsets 
    488       $xml_rep_table[Chr($c)] = "&#$c;"; 
     488      $xml_rep_table[chr($c)] = "&#$c;"; 
    489489 
    490490    $xml_rep_table['"'] = '&quot;'; 
     
    492492    $js_rep_table["'"] = "\\'"; 
    493493    $js_rep_table["\\"] = "\\\\"; 
     494    // Unicode line and paragraph separators (#1486310) 
     495    $js_rep_table[chr(hexdec(E2)).chr(hexdec(80)).chr(hexdec(A8))] = '&#8232;'; 
     496    $js_rep_table[chr(hexdec(E2)).chr(hexdec(80)).chr(hexdec(A9))] = '&#8233;'; 
    494497    } 
    495498 
Note: See TracChangeset for help on using the changeset viewer.