[wp-trac] [WordPress Trac] #9935: Quick editor for comments
converts encoded HTML entities back into plain form
WordPress Trac
wp-trac at lists.automattic.com
Mon May 25 01:34:28 GMT 2009
#9935: Quick editor for comments converts encoded HTML entities back into plain
form
--------------------------+-------------------------------------------------
Reporter: michaeltyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Comments | Version: 2.7.1
Severity: normal | Keywords: comments quick edit html entities encode htmlspecialchars
--------------------------+-------------------------------------------------
If there are any encoded HTML entities in a comment, such as >, <,
etc, these are evaluated and converted into their original characters in
the Quick Edit view. For example, if a commenter enters:
<Files wp-config.php>
..
</Files>
This will appear as:
<Files wp-config.php>
...
</Files>
Under 'Quick Edit'. This means that a subsequent save will store the
original unescaped characters.
Note that this does not occur in the full comment editor - HTML entities
are kept as-is, correctly.
Two in-use plugins that may be relevant: Markdown for Wordpress, and
Peter's Literal Comments.
Tested under Safari and Firefox
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9935>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list