Skip to content

[EE7] Handling of <wbr> tag in XHTML formatting is incorrect #4467

@PaulBaileyAtChan

Description

@PaulBaileyAtChan

The HTML <wbr> tag defines a location where a word break is allowed. When using XHTML formatting, EE handles this tag incorrectly. For example, the tag might be used to allow a long URL to be broken appropriately:

http://example.com<wbr>/thisisaverylongurlsegment

However, rather than (as you might expect) rendering as:

<p>http://example.com<wbr>/thisisaverylongurlsegment</p>

it actually renders this case as:

<p>http://example.com</p><wbr><p>/thisisaverylongurlsegment</p>

splitting the URL into two paragraphs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions