diff --git a/lib/renderer.js b/lib/renderer.js index 0a2430aa..37a551f7 100644 --- a/lib/renderer.js +++ b/lib/renderer.js @@ -61,6 +61,8 @@ function extractTags(text) { tagmap = {}; + text = text.replace(/\|/g, " | "); // Spaces provide easier parsing of .md table pipes + var matches = text.match(/(.?)\[\[(.+?)\]\]([^\[]?)/g), tag, id;