commented the deleted lines out

This commit is contained in:
Lee 2012-05-23 02:42:05 +08:00
parent a1b7341d80
commit 05beaaf1f3

View File

@ -602,6 +602,10 @@ def educateQuotes(str):
str = re.sub(r"""(?<=\s)"$""", r"""&#8221;""", str) str = re.sub(r"""(?<=\s)"$""", r"""&#8221;""", str)
str = re.sub(r"""(?<=\s)'$""", r"""&#8217;""", str) str = re.sub(r"""(?<=\s)'$""", r"""&#8217;""", str)
# Special case for Quotes at beginning of line with a space - multiparagraph quoted text:
#str = re.sub(r"""^"(?=\s)""", r"""&#8220;""", str)
#str = re.sub(r"""^'(?=\s)""", r"""&#8216;""", str)
# Special case for decade abbreviations (the '80s): # Special case for decade abbreviations (the '80s):
str = re.sub(r"""\b'(?=\d{2}s)""", r"""&#8217;""", str) str = re.sub(r"""\b'(?=\d{2}s)""", r"""&#8217;""", str)