[wp-trac] [WordPress Trac] #9437: Allow the use of inline SVG in posts

WordPress Trac noreply at wordpress.org
Fri Jan 17 10:28:09 UTC 2014


#9437: Allow the use of inline SVG in posts
----------------------------------------+-----------------------------
 Reporter:  codedread                   |       Owner:  anonymous
     Type:  feature request             |      Status:  reopened
 Priority:  low                         |   Milestone:  Future Release
Component:  Formatting                  |     Version:  2.5
 Severity:  minor                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------
Changes (by nacin):

 * keywords:  needs-patch => has-patch needs-unit-tests
 * priority:  normal => low
 * severity:  normal => minor


Comment:

 > The camelcase issue seems to be resolved now.

 > The extra <br /> elements. These are forgivable since the elements are
 simply ignored by the browser's SVG parser.

 Given these two statements, it seems like this ticket is quite minor at
 this point, as both original points are not blockers for inline SVG use.
 It seems like the fix here would be to just not process the insides of svg
 elements in wpautop. Yes? [attachment:9437.diff], then. A unit test to
 back that up would be swell.

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


More information about the wp-trac mailing list