Page MenuHomePhabricator

Escape return of {{#int:}} when message is not found
Closed, DuplicatePublic

Description

Parser function {{#int:}} returns the message name surrounded with < and > when the message is not found.

Using {{int:Cite}} will result in a valid tag (<cite>) which is accept by the wiki parser and outputted with the html and gives a bad result, due to html tidy it will be closed at the end of the page.

MediaWiki should escape the return value of {{#int:}} when the message is non-existant to avoid this tags.
Should get parser tests.

Event Timeline

Umherirrender raised the priority of this task from to Needs Triage.
Umherirrender updated the task description. (Show Details)
Umherirrender changed Security from none to None.
Umherirrender subscribed.