Closed boonebgorges closed 8 months ago
This might be mitigated to some extend by the move to the Block Editor for Nominate This, since the in-client transformation to blocks may strip some of the offending elements. #1124
I ran some tests on content from a number of different types of sites (newspapers, blogs, etc) that contain this kind of "junk" markup. In all cases, I found that the Block Editor Nominate This was very good at stripping out the offending markup. As such, I think that no further action is required here.
As reported at https://wordpress.org/support/topic/a-few-minor-suggestions/, structural tags like
span
anddiv
in the source content can potentially cause formatting issues. We could strip them, but we should first research whether stripping would reduce legibility in certain cases (especially where these elements are used in place of more semantic elements).