瀏覽代碼

Fix builtin commands handling in the linker plugin

Suriya Subramanian 6 年之前
父節點
當前提交
6097169e4d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      linker/linker.py

+ 1 - 1
linker/linker.py

@@ -109,7 +109,7 @@ class Linkers(object):
             link = Link(context, content_object, match)
             link = Link(context, content_object, match)
 
 
             if link.cmd in LinkerBase.builtins:
             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:
             elif link.cmd in self.linkers:
                 self.linkers[link.cmd].link(link) # let Linker process the Link
                 self.linkers[link.cmd].link(link) # let Linker process the Link
             else:
             else: