Page MenuHomePhabricator

Double escaping in autoformatted comments
Closed, DuplicatePublic

Description

It seems AutoCommentFormatter double-escapes HTML in message arguments. See e.g. this Wikidata diff where [[User:&beer&love]]’s doubly-escaped name breaks the contributions link. The database contains just /* restore:0||1029390786|&beer&love */ which gets broken by the auto-formatting.

Maybe connected with T182800?