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:
parent
99e734cb71
commit
10c0002af1
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue