Procházet zdrojové kódy

Fix builtin commands handling in the linker plugin

Suriya Subramanian před 6 roky
rodič
revize
6097169e4d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: