Page MenuHomePhabricator

Parsoid needlessly adds a nowiki between an autolink and a template
Closed, InvalidPublic

Description

http://www.autolink.com/{{template}} works, but Parsoid changes it to http://www.autolink.com/<nowiki />{{template}} which isn't needed.

Real-world example: https://en.wikipedia.org/w/index.php?title=Twin_Anemia-Polycythemia_Sequence_(TAPS)&diff=694824020&oldid=694821506

Event Timeline

Jdforrester-WMF raised the priority of this task from to Low.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF moved this task to Backlog on the Parsoid-Nowiki board.
ssastry subscribed.

In the general case, without the nowiki, the template becomes part of the link. Ex: http://google.com/{{1x|foo}} renders as http://google.com/foo