Kaydet (Commit) 4cc902f4 authored tarafından Fred Drake's avatar Fred Drake

Make the _rmtt regular expression deal with the new CSS-friendly

changes to the HTML documentation.
üst 70a66c9d
......@@ -77,7 +77,8 @@ def split_entry(str, which):
return stuff
_rmtt = re.compile(r"(.*)<tt>(.*)</tt>(.*)$", re.IGNORECASE)
_rmtt = re.compile(r"(.*)<tt(?: class=[a-z0-9]+)?>(.*)</tt>(.*)$",
re.IGNORECASE)
_rmparens = re.compile(r"\(\)")
def split_entry_key(str):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment