Explorar el Código

Fix builtin commands handling in the linker plugin

Suriya Subramanian hace 6 años
padre
commit
6097169e4d
Se han modificado 1 ficheros con 1 adiciones y 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: