Opened 11 years ago
Closed 11 years ago
#34349 closed enhancement (duplicate)
embedded doesnt work when dom element is directly after it
| Reported by: | ivomasterche | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Embeds | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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)
Change History (3)
#1
follow-up:
↓ 2
@
11 years ago
- Component Editor → Embeds
- Type defect (bug) → enhancement
- Version 4.3.1
#2
in reply to: ↑ 1
@
11 years ago
Replying to swissspidy:
Not a bug, but currently expected behaviour.
Ok, i agree, but i doubt that this is what the user intends. Since WP editor removes spaces and does this "behind the scenes" its not easily understandable why the url doesn't change to embed item.
I want to use HTML and URL and for me its obvious that the HTML is not part of the URL why would Wordpress thinks that they are one thing?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Not a bug, but currently expected behaviour.