converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

Incorrect escaping

Open guusdk opened this issue 5 years ago • 1 comments

With Converse 6.0.1, when I enter this text in the input field, the resulting chat log gets parsed incorrectly:

        <repository>
            <id>igniterealtime</id>
            <name>Ignite Realtime Repository</name>
            <url>https://igniterealtime.org/archiva/repository/maven/</url>
        </repository>

Results in:

image


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

guusdk avatar Apr 07 '20 12:04 guusdk

I noticed that in 8.0.1, this behavior has changed slightly, but is still broken. This message text:

test: <url>https://igniterealtime.org/archiva/repository/maven/</url>

Results in:

image

Note that the link text color suggests that the closing tag is part of the link text. When opening the link, it is apparent that the URL itself is malformed too. It points at https://igniterealtime.org/archiva/repository/maven/%3C/url%3E

guusdk avatar Nov 04 '21 14:11 guusdk