Shortcodes - deleted if added to html mode
adding supported embeddable url on its own line in HTML mode should render the shortcode upon publish. urls on their own lines currently being deleted upon publish instead.
note: adding full shortcode syntax in html mode works as expected. adding shortcode into visual mode doesn't work because it's wrapped in p (logging separately)
I'm working with a user in a private email thread that's having some issues with the YouTube embed. When he adds the URL within the body of the text, it turns up as a link rather than the embed. I'm unable to reproduce in the same (latest) version in production. When he tries to embed the link, it gets wrapped in p tags as shown here:
http://d.pr/i/16CnG
However, it seems to be a bit inconsistent. If he publishes a new page with just the link (pasted in the HTML editor), it embeds. However, if he adds more text around the link (before and after), it gets hyperlinked instead. Here are some screenshots from his latest test:
https://cloudup.com/clG25HsE2nY
Similar issue?