[wp-trac] [WordPress Trac] #42224: Custom HTML widget is flagging errors on non-HTML
WordPress Trac
noreply at wordpress.org
Sun Oct 15 15:21:48 UTC 2017
#42224: Custom HTML widget is flagging errors on non-HTML
--------------------------+------------------------------
Reporter: joyously | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: close | Focuses:
--------------------------+------------------------------
Comment (by joyously):
Yes, I know about the post editor and the Text widget, as I referenced the
other ticket about that (#42222).
My point is that this is not a breaking error, and I should be able to
save the widget.
If I put this exact same thing into a 4.7.6 Text widget, it works fine.
The browser knows it's an error, but renders it correctly anyway.
[[Image(https://s1.postimg.org/1gybj72mnz/text-widget-4.7.6-ascii-
art.jpg)]]
The problem is that the current Text widget is doing the character
conversion for me, but is losing the `<pre>` tag, so the only other widget
to use is not doing the character conversion and won't let me save.
You can see that for a non-technical user, this would make no sense, since
this worked in widgets before.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42224#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list