diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-02-20 20:52:07 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-02-20 20:52:07 +0100 |
commit | 23fcb817a4ce6cd3595ac038abc0668def0ec4eb (patch) | |
tree | e88a96ba2e68d37e0b9b74e3224623834406633c | |
parent | f531a3f98479b79e48af4ffa3bc2000e1766533f (diff) | |
download | gitbook-23fcb817a4ce6cd3595ac038abc0668def0ec4eb.zip gitbook-23fcb817a4ce6cd3595ac038abc0668def0ec4eb.tar.gz gitbook-23fcb817a4ce6cd3595ac038abc0668def0ec4eb.tar.bz2 |
Fix html snippets escaping
-rw-r--r-- | theme/templates/ebook/layout.html | 2 | ||||
-rw-r--r-- | theme/templates/website/layout.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/theme/templates/ebook/layout.html b/theme/templates/ebook/layout.html index 2849404..1a9c01c 100644 --- a/theme/templates/ebook/layout.html +++ b/theme/templates/ebook/layout.html @@ -9,7 +9,7 @@ <meta name="description" content="{% block description %}{% endblock %}"> <meta name="generator" content="GitBook {{ gitbook.version }}"> {% block head %}{% endblock %} - {{ htmlSnippet("head:end")|default("") }} + {{ htmlSnippet("head:end")|default("")|safe }} </head> <body> {{ htmlSnippet("body:start")|default("")|safe }} diff --git a/theme/templates/website/layout.html b/theme/templates/website/layout.html index fca3313..e412c0c 100644 --- a/theme/templates/website/layout.html +++ b/theme/templates/website/layout.html @@ -2,7 +2,7 @@ <html lang="{{ language }}"> {{ htmlSnippet("html:start")|default("")|safe }} <head> - {{ htmlSnippet("head:start")|default("") }} + {{ htmlSnippet("head:start")|default("")|safe }} <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" /> <title>{% block title %}{% endblock %}</title> |