diff options
author | Adrian Sampson <adrian@radbox.org> | 2016-06-19 13:59:04 -0700 |
---|---|---|
committer | Adrian Sampson <adrian@radbox.org> | 2016-06-19 13:59:04 -0700 |
commit | fe5146dbc9692b309fb9a3ddc2290def528153aa (patch) | |
tree | 6196d5551de5460b2662e4821298f1e7bf17ab57 | |
parent | 75768c7479c57a401823ec1e57f1140402be8428 (diff) |
Entity escape nonsense
-rw-r--r-- | _layouts/main.html | 8 | ||||
-rw-r--r-- | _posts/2016-06-19-sqlite-performance.md | 2 | ||||
-rw-r--r-- | blog/atom.xml | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/_layouts/main.html b/_layouts/main.html index e0b48ef28..0c84ad835 100644 --- a/_layouts/main.html +++ b/_layouts/main.html @@ -2,8 +2,8 @@ <html> <head> <title> - beets: {% if page.shorttitle %}{{ page.shorttitle }} - {% else %}{{ page.title }}{% endif %} + beets: {% if page.shorttitle %}{{ page.shorttitle | xml_escape }} + {% else %}{{ page.title | xml_escape }}{% endif %} </title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"> @@ -58,9 +58,9 @@ <div class="col-md-12" id="header"> <h1> {% if page.section == 'blog' %} - The beets blog: {{ page.title }}. + The beets blog: {{ page.title | xml_escape }}. {% else %} - {{ page.title }} + {{ page.title | xml_escape }} {% endif %} </h1> </div> diff --git a/_posts/2016-06-19-sqlite-performance.md b/_posts/2016-06-19-sqlite-performance.md index 09293b05e..e89dc6c82 100644 --- a/_posts/2016-06-19-sqlite-performance.md +++ b/_posts/2016-06-19-sqlite-performance.md @@ -1,5 +1,5 @@ --- -title: "we're pretty happy with SQLite & not urgently interested in a fancier DBMS" +title: "we’re pretty happy with SQLite & not urgently interested in a fancier DBMS" --- Every once in a while, someone suggests that beets should use a "real database." I think this means storing music metadata in [PostgreSQL][] or [MySQL][] as an alternative to our current [SQLite][] database. The idea is that a more complicated DBMS should be faster, especially for huge music libraries. diff --git a/blog/atom.xml b/blog/atom.xml index bf376858e..1aff039bf 100644 --- a/blog/atom.xml +++ b/blog/atom.xml @@ -3,7 +3,7 @@ layout: null --- <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> - + <title>The beets blog.</title> <link href="{{ site.url }}/blog/" /> <link href="{{ site.url }}/blog/atom.xml" rel="self" /> @@ -16,12 +16,12 @@ layout: null {% for post in site.posts %} <entry> - <title>{{ post.title }}</title> + <title>{{ post.title | xml_escape }}</title> <link href="{{ site.url }}{{ post.url }}"/> <updated>{{ post.date | date_to_xmlschema }}</updated> <id>{{site.url }}{{ post.id }}</id> <content type="html">{{ post.content | xml_escape }}</content> </entry> {% endfor %} - + </feed> |