[wp-trac] [WordPress Trac] #55671: TikTok embeds with </3 in the song field break html
WordPress Trac
noreply at wordpress.org
Wed May 4 12:50:16 UTC 2022
#55671: TikTok embeds with </3 in the song field break html
--------------------------------------------+------------------------------
Reporter: rmens | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-testing-info | Focuses:
--------------------------------------------+------------------------------
Changes (by costdev):
* keywords: => needs-testing has-testing-info
Comment:
@rmens Thanks for the ticket!
== Reproduction Report
=== Environment
* Server: Apache (Linux)
* WordPress: trunk through 5.4
* Browser: Chrome 101.0.4951.54
* OS: Windows 10
* Theme: Twenty Twenty-One
* Plugins: None activated
=== Steps
1. Navigate to `Post > Add New`.
2. Paste the following link:
{{{
https://www.tiktok.com/@thepamperedskin_/video/7079373120741707035
}}}
3. Insert a Paragraph block below and enter some text.
4. Click `Preview`.
5. 🐞 Notice that the paragraph below the embedded video is now linked. ✅
=== Results
1. Issue reproduced on `trunk` and all the way back to 5.4 when TikTok
videos were introduced. ✅
=== Notes
1. TikTok support was
[https://developer.wordpress.org/reference/hooks/oembed_providers/
introduced in 5.4].
2. This may exist with a video from any provider which contains `</3>` in
the video's title, rather than a TikTok-specific issue. This needs
testing.
3. Holding off on assigning the `Version` to 5.4 until we know more.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55671#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list