Skip to content

Commit a6ea738

Browse files
committed
assume special chars in description and keywords are already escaped; detag description
1 parent f9c99e5 commit a6ea738

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/partials/head-info.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
{{/with}}
1111
{{/unless}}
1212
{{#with page.description}}
13-
<meta name="description" content="{{this}}">
13+
<meta name="description" content="{{{detag this}}}">
1414
{{/with}}
1515
{{#with page.keywords}}
16-
<meta name="keywords" content="{{this}}">
16+
<meta name="keywords" content="{{{this}}}">
1717
{{/with}}
1818
{{#with (or antoraVersion site.antoraVersion)}}
19-
<meta name="generator" content="Antora {{this}}">
19+
<meta name="generator" content="Antora {{{this}}}">
2020
{{/with}}

0 commit comments

Comments
 (0)