Commit a5366acb authored by Andreas Jung's avatar Andreas Jung

fix for doc_underline: a string containing two underscores

has been recognized as string to be underlined.
parent 2938714a
......@@ -632,7 +632,7 @@ class DocumentClass:
def doc_underline(self,
s,
expr=re.compile("\_([%s0-9\s\.,\?\/]+)\_" % letters).search):
expr=re.compile("\s*\_([%s0-9\s\.,\?\/]+)\_" % letters).search):
result = expr(s)
if result:
......
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