Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/doconce/doconce.py
Original file line number Diff line number Diff line change
Expand Up @@ -4103,7 +4103,7 @@ def inline_tag_subst(filestr, format):
# Do tags that require almost format-independent treatment such
# that everything is conveniently defined here
# 1. Quotes around normal text in LaTeX style:
pattern = "``([^']+?)''" # here we had [A-Za-z][lots of chars]*?, but ^' is much smarter and mathces locale chars too
pattern = "``(.+?)''"
if format in ('html',):
filestr = re.sub(pattern, '&quot;\g<1>&quot;', filestr)
elif format not in ('pdflatex', 'latex'):
Expand Down