Removed the html_escape code from libhtml and using saxutils for escaping characters. Thank you, Gerald Britton, for the better way.

svn: r16639
This commit is contained in:
Rob G. Healey
2011-02-17 07:42:37 +00:00
parent 4dd853135e
commit 1b08fdb508
2 changed files with 2 additions and 42 deletions

View File

@ -103,8 +103,8 @@ from libhtmlconst import _CHARACTER_SETS, _CC, _COPY_OPTIONS
# src/plugins/lib/libhtml.py
from libhtml import Html
#import the html_escape function
from libhtml import html_escape as html_escape
# ability to escape characters from html output
from xml.sax.saxutils import escape as html_escape
# import styled notes from
# src/plugins/lib/libhtmlbackend.py