1
0
Fork 0
forked from github/pelican

Fix bug with custom reST :abbr: role. Fixes #949

This fixes things so that newlines are allowed within the explanation of
an :abbr: role in reST mark-up.
This commit is contained in:
Jeff Dairiki 2014-10-16 06:59:32 -07:00
commit 10c0002af1

View file

@ -70,7 +70,7 @@ directives.register_directive('code-block', Pygments)
directives.register_directive('sourcecode', Pygments)
_abbr_re = re.compile('\((.*)\)$')
_abbr_re = re.compile('\((.*)\)$', re.DOTALL)
class abbreviation(nodes.Inline, nodes.TextElement):