Revert commit 16664 to restore full functionality

svn: r16713
This commit is contained in:
Gerald Britton 2011-02-25 16:05:13 +00:00
parent bdbba8cf13
commit 4797f0f1f6

View File

@ -210,8 +210,7 @@ _html_replacement = {
# This command then defines the 'html_escape' option for escaping
# special characters for presentation in HTML based on the above list.
from xml.sax.saxutils import escape as html_escape
def _html_escape(text):
def html_escape(text):
"""Convert the text and replace some characters with a &# variant."""
# First single characters, no quotes