Remove image support for xss
This commit is contained in:
parent
673296b86f
commit
d7a027e8b1
1 changed files with 4 additions and 0 deletions
|
@ -202,6 +202,10 @@ class TextFormatter
|
|||
text.include?(':') ? nil : '<u>' + text + '</u>'
|
||||
end
|
||||
|
||||
def image(link, title, alt_text)
|
||||
nil
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def process_program_code(code)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue