Skip to content
Snippets Groups Projects
Commit fb4f01ca authored by Jared Hancock's avatar Jared Hancock
Browse files

html: Be careful not to strip too much

If there is content between to <style> elements, the content was previously
stripped by Format::safe_html function. This patch adjusts the regex to
strip tags such as <head>, <script> and <style> so that if content is found
between two of them, it will be preserved.
parent 6986e6f7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment