Proper html sanitation for static pages
This commit is contained in:
parent
66ce115fc3
commit
ec60e8853b
|
@ -1,2 +1,2 @@
|
||||||
:markdown
|
:markdown
|
||||||
#{t '.content'}
|
#{sanitize t '.content'}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
%h2
|
%h2
|
||||||
%em.fa.fa-filter
|
%em.fa.fa-filter
|
||||||
= title t('.title')
|
= title t '.title'
|
||||||
|
|
||||||
:markdown
|
:markdown
|
||||||
#{t '.helper'}
|
#{t '.helper'}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
:markdown
|
:markdown
|
||||||
#{t '.content'}
|
#{sanitize t '.content'}
|
||||||
|
|
||||||
%a(href="http://validator.w3.org/unicorn/check?ucn_uri=#{root_url}"
|
%a(href="http://validator.w3.org/unicorn/check?ucn_uri=#{root_url}"
|
||||||
style="text-decoration:none;")
|
style="text-decoration:none;")
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
:markdown
|
:markdown
|
||||||
#{t '.content'}
|
#{sanitize t '.content'}
|
||||||
|
|
Loading…
Reference in New Issue