assume special chars in description and keywords are already escaped; detag description
authorDan Allen <dan@opendevise.com>
Fri, 14 Jan 2022 07:50:47 +0000 (00:50 -0700)
committerDan Allen <dan@opendevise.com>
Fri, 14 Jan 2022 07:51:38 +0000 (00:51 -0700)
src/partials/head-info.hbs

index 32c8bee..07efba1 100644 (file)
     {{/with}}
     {{/unless}}
     {{#with page.description}}
-    <meta name="description" content="{{this}}">
+    <meta name="description" content="{{{detag this}}}">
     {{/with}}
     {{#with page.keywords}}
-    <meta name="keywords" content="{{this}}">
+    <meta name="keywords" content="{{{this}}}">
     {{/with}}
     {{#with (or antoraVersion site.antoraVersion)}}
-    <meta name="generator" content="Antora {{this}}">
+    <meta name="generator" content="Antora {{{this}}}">
     {{/with}}