Proper html sanitation for static pages
This commit is contained in:
parent
66ce115fc3
commit
ec60e8853b
@ -1,2 +1,2 @@
|
||||
:markdown
|
||||
#{t '.content'}
|
||||
#{sanitize t '.content'}
|
||||
|
@ -1,6 +1,6 @@
|
||||
%h2
|
||||
%em.fa.fa-filter
|
||||
= title t('.title')
|
||||
= title t '.title'
|
||||
|
||||
:markdown
|
||||
#{t '.helper'}
|
||||
|
@ -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;")
|
||||
|
@ -1,2 +1,2 @@
|
||||
:markdown
|
||||
#{t '.content'}
|
||||
#{sanitize t '.content'}
|
||||
|
Loading…
Reference in New Issue
Block a user