[wp-trac] [WordPress Trac] #9437: Allow the use of inline SVG in posts
WordPress Trac
noreply at wordpress.org
Mon Jul 1 03:18:38 UTC 2019
#9437: Allow the use of inline SVG in posts
--------------------------------------+---------------------
Reporter: codedread | Owner: pento
Type: feature request | Status: closed
Priority: low | Milestone: 5.3
Component: Formatting | Version: 2.5
Severity: minor | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"45577" 45577]:
{{{
#!CommitTicketReference repository="" revision="45577"
Formatting: Don't add `<p>` tags inside `<svg>` tags.
Inline `<svg>`s should generally work, as browsers should just ignore
`<p>` or `<br/>` tags that shouldn't be inside the `<svg>`. To keep things
neat, however, it's better not add them in the first place.
Props jared_smith, nacin, pento.
Fixes #9437.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9437#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list