Proper html sanitation for static pages

This commit is contained in:
echarp 2017-05-07 22:06:45 +02:00
parent 66ce115fc3
commit ec60e8853b
4 changed files with 4 additions and 4 deletions

View File

@ -1,2 +1,2 @@
:markdown
#{t '.content'}
#{sanitize t '.content'}

View File

@ -1,6 +1,6 @@
%h2
%em.fa.fa-filter
= title t('.title')
= title t '.title'
:markdown
#{t '.helper'}

View File

@ -1,5 +1,5 @@
:markdown
#{t '.content'}
#{sanitize t '.content'}
%a(href="http://validator.w3.org/unicorn/check?ucn_uri=#{root_url}"
style="text-decoration:none;")

View File

@ -1,2 +1,2 @@
:markdown
#{t '.content'}
#{sanitize t '.content'}