_layouts/sidenav.html in wai-website-theme-1.9.pre vs _layouts/sidenav.html in wai-website-theme-1.9.2
- old
+ new
@@ -41,10 +41,10 @@
<div class="default-grid with-gap leftcol">
{% include sidenav.html %}
<main id="main"{% if page.lang %} lang="{{page.lang}}"{% endif %}>
- <h1>{% if page.title_icon %}<svg class="icon-in-title" aria-hidden="true"><use xlink:href="{{page.title_icon | relative_url}}"></use></svg> {% endif %}{% if page.title_html %}{{ page.title_html }}{% else %}{{ page.title }}{% endif %}</h1>
+ <h1>{% if page.title_icon %}<svg class="icon-in-title" aria-hidden="true"><use xlink:href="{{page.title_icon | relative_url}}"></use></svg> {% endif %}{% if page.title_html %}{{ page.title_html }}{% else %}{{ page.title | xml_escape }}{% endif %}</h1>
{%- include doc-note-msg.html -%}
{{ content }}