Page MenuHomePhabricator

SpecialSearch.php prints a plain "\n" at the bottom of a page
Closed, DuplicatePublic

Description

If I do a special search, there is an "\n" printed on the bottom of the results page.
This came from

$out->addHTML( '<div class="visualClear"></div>\n' );

in line 391 of includes/specials/SpecialSearch.php

Seems like its not rendered as a newline. Instead "\n" shows up. When I delete it its fine.

Cheers

Event Timeline

Tormate raised the priority of this task from to Needs Triage.
Tormate updated the task description. (Show Details)
Tormate added a project: MediaWiki-Search.
Tormate subscribed.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

@Tormate This problem was fixed a little while ago, see T113518 for more information. If you're still experiencing this, you probably need to update your version of MediaWiki to the latest version.

Oh, thanks! @Deskana Sorry for spamming ;-)

@Tormate No problem at all! Merging tasks together takes only a few seconds, and it's always better to file a task and find out someone else did, rather than not filing a task and then finding out the issue was undocumented. :-)