[wp-trac] [WordPress Trac] #43147: Introduce `esc_html_comment` and translation related functions

WordPress Trac noreply at wordpress.org
Tue Jan 23 20:11:31 UTC 2018


#43147: Introduce `esc_html_comment` and translation related functions
--------------------------------------+------------------------------
 Reporter:  jipmoors                  |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Formatting                |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by jdgrimes):

 The spec says that a comment cannot "contain two consecutive U+002D
 HYPHEN-MINUS characters (`--`)". However, the patch seems to only disallow
 `--` at the beginning of the comment text, not anywhere within it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43147#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list