Closed bummytime closed 7 years ago
Unfortunately stripping Javascript from HTML may not be very trivial.
Here's an old personal attempt to solve a similar issue, that simply turned off an old post-creating mechanism in the App, instead of stripping JS code.
Sorry I didn't provide this information before but I only remembered about it now.
I'll check if our endpoint is actually taking care of stripping the JS code, since that would make this issue mostly cosmetic (ie: client-side only).
ty @elibud and @diegoreymendez !
This PR:
@selector(editorTrackStat:)
addSlashes:
method onWPEditorField.m
and renames it tosanitizeHTML:
To test:
@elibud would you mind reviewing?