Skip to content
Snippets Groups Projects
Commit e2619b35 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Stop editing HTML as text.

An addons.thunderbird.net reviewer pointed out that innerHTML.replace() is risky, and textContent.replace() would be better. Instead of one big replace on the body contents, we now recursively do replacements on each text node and node attribute.
parent 326269ea
No related branches found
No related tags found
Loading
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