mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
commit
c73dba7a7a
1 changed files with 11 additions and 8 deletions
|
|
@ -98,7 +98,10 @@ directives.register_directive('youtube', YouTube)
|
|||
|
||||
_abbr_re = re.compile('\((.*)\)$')
|
||||
|
||||
class abbreviation(nodes.Inline, nodes.TextElement): pass
|
||||
|
||||
class abbreviation(nodes.Inline, nodes.TextElement):
|
||||
pass
|
||||
|
||||
|
||||
def abbr_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
|
||||
text = utils.unescape(text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue