More updates from the gh-pages branch

This commit is contained in:
Jeff Parsons 2015-12-16 16:19:13 -08:00
commit a7a30ad676
8 changed files with 60 additions and 155 deletions

View file

@ -332,6 +332,7 @@ MarkOut.prototype.convertMD = function(sIndent)
* triple-dash-style comments.
*/
if (!this.fDebug) {
sMD = sMD.replace(/\{%\s*if\s+page\.developer\s*%}[\s\S]*?{%\s*endif\s*%}\s*/, "");
sMD = sMD.replace(/[ \t]*<!--+\s*begin:exclude\s*-+->[\s\S]*?<!--+\s*end:exclude\s*-+->[\r\n]*/i, "");
}