Changeset 4208fed


Ignore:
Timestamp:
02/05/11 13:19:39 (2 years ago)
Author:
Aurélien Bompard <aurelien@…>
Branches:
master
Children:
57f5ae7
Parents:
ac04f21
git-author:
Aurélien Bompard <aurelien@…> (02/05/11 13:19:39)
git-committer:
Aurélien Bompard <aurelien@…> (02/05/11 13:19:39)
Message:

PHP script: port the XML escaping method from the Python script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xhtml2odt.php

    r7c1f2b3 r4208fed  
    197197        // replace html codes with unicode 
    198198        // http://www.mail-archive.com/analog-help@lists.meer.net/msg03670.html 
    199         //$xhtml = str_replace("&nbsp;","&#160;",$xhtml); 
    200         $xhtml = html_entity_decode($xhtml, ENT_COMPAT, "UTF-8"); 
     199        $xhtml = str_replace("&nbsp;","&#160;",$xhtml); 
     200        //$xhtml = html_entity_decode($xhtml, ENT_COMPAT, "UTF-8"); 
    201201 
    202202        return $xhtml; 
Note: See TracChangeset for help on using the changeset viewer.