diff --git a/examples/custom-footer.adoc b/examples/custom-footer.adoc index 3223589..730a549 100644 --- a/examples/custom-footer.adoc +++ b/examples/custom-footer.adoc @@ -1 +1 @@ -Custom footer !! \ No newline at end of file +== Custom footer !! \ No newline at end of file diff --git a/examples/custom-header.adoc b/examples/custom-header.adoc index 5d9e72f..fbe83e7 100644 --- a/examples/custom-header.adoc +++ b/examples/custom-header.adoc @@ -1 +1 @@ -Custom header !! \ No newline at end of file +== Custom header !! \ No newline at end of file diff --git a/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/footer.adoc.hbs b/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/footer.adoc.hbs index 1bd1ff6..dfa0f30 100644 --- a/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/footer.adoc.hbs +++ b/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/footer.adoc.hbs @@ -1,5 +1,5 @@ {{#if customContent.customFooterContent~}} -{{customContent.customFooterContent}} +{{{customContent.customFooterContent}}} {{/if~}} {{#if customization.includeGenerationDate ~}} diff --git a/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/header.adoc.hbs b/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/header.adoc.hbs index 89dcd60..4d22511 100644 --- a/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/header.adoc.hbs +++ b/jbang-catalog-document-generator-core/src/main/resources/templates/adoc/header.adoc.hbs @@ -1,5 +1,5 @@ {{~#if description}}= {{description}} {{/if~}} {{> templates/adoc/toc.adoc}} {{#if customContent.customHeaderContent~}} -{{customContent.customHeaderContent}} +{{{customContent.customHeaderContent}}} {{/if~}} \ No newline at end of file diff --git a/jbang-catalog-document-generator-core/src/main/resources/templates/md/footer.md.hbs b/jbang-catalog-document-generator-core/src/main/resources/templates/md/footer.md.hbs index 1bd1ff6..dfa0f30 100644 --- a/jbang-catalog-document-generator-core/src/main/resources/templates/md/footer.md.hbs +++ b/jbang-catalog-document-generator-core/src/main/resources/templates/md/footer.md.hbs @@ -1,5 +1,5 @@ {{#if customContent.customFooterContent~}} -{{customContent.customFooterContent}} +{{{customContent.customFooterContent}}} {{/if~}} {{#if customization.includeGenerationDate ~}} diff --git a/jbang-catalog-document-generator-core/src/main/resources/templates/md/header.md.hbs b/jbang-catalog-document-generator-core/src/main/resources/templates/md/header.md.hbs index bd9eaec..b3e36f6 100644 --- a/jbang-catalog-document-generator-core/src/main/resources/templates/md/header.md.hbs +++ b/jbang-catalog-document-generator-core/src/main/resources/templates/md/header.md.hbs @@ -1,5 +1,5 @@ {{~#if description}}# {{description}} {{/if~}} {{> templates/md/toc.md}} {{#if customContent.customHeaderContent~}} -{{customContent.customHeaderContent}} +{{{customContent.customHeaderContent}}} {{/if~}} \ No newline at end of file