chiark / gitweb /
doc: hint proper use of the `e` Jinja2 filter.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 11 Dec 2017 00:34:49 +0000 (01:34 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 11 Dec 2017 01:48:25 +0000 (02:48 +0100)
doc/plugins/htmlsanity.rst

index 7ebd32de42acee985a6b059be87dd4ef7ec013e2..bfc786c267216cac8d8933505738c2c02cc4022e 100644 (file)
@@ -348,7 +348,7 @@ from passed text. The ``enable`` argument works the same as with the
 
     <html>
       <head>
-        <meta name="description" content="{{ article.summary|dehyphenate|striptags }}" />
+        <meta name="description" content="{{ article.summary|dehyphenate|striptags|e }}" />
       </head>
       ...