Brian Wolff wrote:
I dont know about that. Viz editor is targeting
ordinary tasks. Its the
complex things that mess stuff up.
In most contexts, solving the ordinary/common cases is a pretty big win.
Failing fast and loud is good in lots of contexts. I
dont think wiki
editing is one of them.
The only cited example of real breakage so far has been mismatched <div>s.
How often are you or anyone else adding <div>s to pages? In my experience,
most users rely on MediaWiki templates for any kind of complex markup.
Echoing my initial reply in this thread, I still don't really understand
what behaviors from Tidy we want to keep. I've been following
<https://phabricator.wikimedia.org/T89331> a bit and it also hasn't helped
answer this question.
Afaik, anchors are disallowed because spammers commonly
insert them. Its
trivial to sanitize and allow them if we so desired.
Spammers can trivially insert anchors (links). Additional wrapper markup
isn't even needed; we automatically render hyperlinks if a string has a
prefix that looks like it might be a URL. In any case, this is the subject
of <https://phabricator.wikimedia.org/T35886>.
MZMcBride