Explorar o código

Fix builtin commands handling in the linker plugin

Suriya Subramanian %!s(int64=6) %!d(string=hai) anos
pai
achega
6097169e4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      linker/linker.py

+ 1 - 1
linker/linker.py

@@ -109,7 +109,7 @@ class Linkers(object):
             link = Link(context, content_object, match)
 
             if link.cmd in LinkerBase.builtins:
-                pass # builtin commands not handled here
+                return match.group(0)  # builtin commands not handled here
             elif link.cmd in self.linkers:
                 self.linkers[link.cmd].link(link) # let Linker process the Link
             else: