You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/07/11 12:32:52 UTC
[3/5] sling-site git commit: Also ignore html code block marker
Also ignore html code block marker
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/337229c3
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/337229c3
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/337229c3
Branch: refs/heads/master
Commit: 337229c3c4ee20811ce93780cd5ef508afe0b53e
Parents: 2d5d2f3
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Tue Jul 11 14:10:54 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Tue Jul 11 14:10:54 2017 +0200
----------------------------------------------------------------------
src/main/jbake/templates/page.tpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sling-site/blob/337229c3/src/main/jbake/templates/page.tpl
----------------------------------------------------------------------
diff --git a/src/main/jbake/templates/page.tpl b/src/main/jbake/templates/page.tpl
index 84db821..14e7356 100644
--- a/src/main/jbake/templates/page.tpl
+++ b/src/main/jbake/templates/page.tpl
@@ -4,7 +4,7 @@ def processContent(str) {
str = str.replaceAll('\\[TOC\\]', replacement)
// Temporarily disable the syntax markers (of which there are two flavors, for some reason)
- str = str.replaceAll('(::|#\\!)(java|jsp|xml|sh|javascript) *\\n', '<!-- TODO syntax marker ($1$2) disabled -->')
+ str = str.replaceAll('(::|#\\!)(java|jsp|xml|sh|javascript|html) *\\n', '<!-- TODO syntax marker ($1$2) disabled -->')
return str
}