fix escaped strings in bio
This commit is contained in:
parent
e55936c8c3
commit
a28ca85a37
@ -25,7 +25,7 @@
|
||||
options el: '.editor'
|
||||
def initialize
|
||||
@tab = 1
|
||||
@markdown = "#{object.send(field).to_s.html_safe}"
|
||||
@markdown = "#{CGI::escapeHTML(sanitize object.send(field).to_s)}"
|
||||
end
|
||||
def compiledMarkdown
|
||||
marked.parse(@markdown)
|
||||
|
Loading…
Reference in New Issue
Block a user