]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Xml Escape for Author Name
authorRobert Muehsig <robert.muehsig@codeinside.eu>
Wed, 23 Jan 2019 21:29:54 +0000 (22:29 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 23 Jan 2019 22:13:52 +0000 (22:13 +0000)
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.

docs/atom.xml

index 487feb38062d3dec597da78ca34734b67ba8963f..46f4b96ad5ece04f5540de70879ff3f68ddec78e 100644 (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" />