Skip to content

Live Comments: Titles with long-html break the widget. #242

Description

@dd32

As reported in WordPress/wporg-make#59 by @BenjaminZekavica

  1. Create a post with the title of Testing <code>super-long-code-HTML-tags</code> in titles..
  2. Comment on it.
  3. View the Live Comments widget:
Image

This is caused by makeLongWordsShort() which splits strings without care for HTML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions