Skip to content

Commit

Permalink
fix: HTML anchors are unescaped
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 26, 2024
1 parent 6156756 commit 9312ffb
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- alias --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- concept --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{>types/nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- enum --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{#if symbol.name}}Enum {{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else}}Unnamed enum{{/if}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- enumerator --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>Enumerator {{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- field --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- friend --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>Friend {{#if symbol.symbol}}{{symbol.symbol.name}}{{else}}{{symbol.type.name}}{{/if}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- function --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>Function {{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- guides --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>Deduction guide {{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- namespace --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{#if symbol.name}}Namespace {{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else if symbol.parent}}Unnamed namespace{{else}}Global namespace{{/if}}</h2>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- record --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{#if symbol.name}}Class {{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else}}Unnamed class{{/if}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- typedef --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- symbols/using.html.hbs --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>Using {{#if (eq symbol.class "namespace")}}Directive: {{symbol.qualifier.name}}{{else}}Declaration: {{symbol.name}}{{/if}}</h2>
{{{symbol.doc.brief}}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- variable --}}
<div id="{{symbol.anchor}}">
<div id="{{{symbol.anchor}}}">
<div>
<h2>{{>types/nested-name-specifier symbol=symbol.parent}}{{symbol.name}}</h2>
{{{symbol.doc.brief}}}
Expand Down

0 comments on commit 9312ffb

Please sign in to comment.