[wp-trac] [WordPress Trac] #25387: Autoembeds don't work with paragraphs

WordPress Trac noreply at wordpress.org
Wed Apr 27 13:53:09 UTC 2016


#25387: Autoembeds don't work with paragraphs
-------------------------------------------+------------------
 Reporter:  Looimaster                     |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  4.6
Component:  Embeds                         |     Version:  3.6
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch needs-testing early  |     Focuses:
-------------------------------------------+------------------

Comment (by yosefeliezrie):

 Also, i think we should look at different kinds of html and not just a div
 tag what about section tags and the like, maybe just a regex for youtube
 within a <></> may be hard to do with regex but i'm not such a master so
 maybe it is possible.

 Replying to [comment:27 azaozz]:

 > Thinking we can also explore some even less common cases like the URL is
 in a <div> or perhaps <li>.

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


More information about the wp-trac mailing list