[wp-trac] [WordPress Trac] #30727: Right Arrow ">" At Beginning of Line (For Markdown Quote) is Replaced when Switching Editors
WordPress Trac
noreply at wordpress.org
Tue Dec 16 14:54:18 UTC 2014
#30727: Right Arrow ">" At Beginning of Line (For Markdown Quote) is Replaced when
Switching Editors
--------------------------+------------------------------
Reporter: Kelderic | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: minor | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by avryl):
* milestone: => Awaiting Review
Comment:
> The problem is that the editor is escaping the arrow because it thinks
it's HTML.
That's because it *is* HTML. The text editor is a simple HTML editor where
you're not required to wrap your paragraphs in `<p>`'s
Switching between modes will encode the character's you've added. Same
happens for `&` for example.
I'm not sure if it would be better to preserve the user input and encode
before outputting on the front-end.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30727#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list