diff --git a/lib/doconce/doconce.py b/lib/doconce/doconce.py index c0904c8c..266578b8 100644 --- a/lib/doconce/doconce.py +++ b/lib/doconce/doconce.py @@ -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, '"\g<1>"', filestr) elif format not in ('pdflatex', 'latex'):