[wp-trac] [WordPress Trac] #29515: Escape/encode some HTML tags used in core docblocks
WordPress Trac
noreply at wordpress.org
Thu Sep 4 20:13:07 UTC 2014
#29515: Escape/encode some HTML tags used in core docblocks
--------------------------+----------------------------
Reporter: DrewAPicture | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Keywords: has-patch
Focuses: docs |
--------------------------+----------------------------
In some function references, such as
[http://developer.wordpress.org/reference/functions/get_media_embedded_in_content/
get_media_embedded_in_content] we reference specific HTML tags like
`<video>`, `<audio>`, `<embed>`, `<iframe>`, or others.
And since markdown backslash escaping doesn't apply to greater- and less-
than characters, we may need to encode them directly in the docblocks so
they can be properly parsed for the Code Reference.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29515>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list