Live Comments: Titles with long-html break the widget.
- Dominant language
- JavaScript
- Stars
- 338
- Forks
- 56
- Avg merge
- 24m
- Merged PRs (30d)
- 16
Description
As reported in https://github.com/WordPress/wporg-make/issues/59 by @BenjaminZekavica
1. Create a post with the title of `Testing super-long-code-HTML-tags in titles..`
2. Comment on it.
3. View the Live Comments widget:
This is caused by makeLongWordsShort() which splits strings without care for HTML.
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the JavaScript implementation of makeLongWordsShort() and reproduce the reported post title and comment in the Live Comments widget. Trace how the title is shortened without treating its HTML as plain text; done means the widget remains intact and displays the long HTML-tagged title correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100