[wp-trac] [WordPress Trac] #34349: embedded doesnt work when dom element is directly after it

WordPress Trac noreply at wordpress.org
Sun Oct 18 17:09:34 UTC 2015


#34349: embedded doesnt work when dom element is directly after it
--------------------------+-----------------------------
 Reporter:  ivomasterche  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  4.3.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When i insert youtube url and have closing element for example
 {{{
 </div>
 }}}
 It seems to concatenate it to the youtube link, and the link is not
 converted to embedded video.

 Example

 {{{
 <div class="right"> https://www.youtube.com/watch?v=1uvwGmRf5M8 </div>
 }}}

 doesnt play the video if i add 2 lines (double press enter or add text
 after the opening and before the closing tags it works

 I believe there should be some check that detects html tags and splits
 them from the url before trying to convert it to video (in this case)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34349>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list