Xml Escape for Author Name

The following xml contains a unescaped "&", which is not valid:

    <author>
      <name>Bulma: Free, open source, & modern CSS framework based on Flexbox</name>
      <email>bbxdesign@gmail.com</email>
    </author>

This change should fix it.
This commit is contained in:
Robert Muehsig 2019-01-23 22:29:54 +01:00 committed by Jeremy Thomas
parent 4799e0bdb2
commit a1d1cb38fa

View File

@ -9,7 +9,7 @@
<id>{{ site.url }}</id>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>{{ site.data.meta.title }}</name>
<name>{{ site.data.meta.title | xml_escape }}</name>
<email>bbxdesign@gmail.com</email>
</author>
<atom:link href="{{ site.url }}/atom.xml" rel="self" type="application/rss+xml" />