Changeset 51405

Show
Ignore:
Timestamp:
03/23/07 13:50:53 (3 years ago)
Author:
madarche
Message:

Added the "--input-encoding latin1 --output-encoding latin1" options to tidy so
that the HTML content include the true original latin characters and not the
latin characters converted to entities.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • CPS3/products/CPSSchemas/trunk/ExtendedWidgets.py

    r51394 r51405  
    104104    size_max = 2*1024*1024 
    105105    xhtml_sanitize = False 
    106     xhtml_sanitize_system = 'tidy --force-output yes --clean yes --drop-font-tags yes --drop-proprietary-attributes yes --show-body-only yes --write-back yes --output-xhtml yes --show-errors 0 --show-warnings no --hide-comments yes %s 2>/dev/null' 
     106    xhtml_sanitize_system = 'tidy --input-encoding latin1 --output-encoding latin1 --force-output yes --clean yes --drop-font-tags yes --drop-proprietary-attributes yes --show-body-only yes --write-back yes --output-xhtml yes --show-errors 0 --show-warnings no --hide-comments yes %s 2>/dev/null' 
    107107    file_uploader = False 
    108108