Page MenuHomePhabricator

Extra linebreak after the categorytree
Open, MediumPublic

Description

Author: syswiki

Description:
The extension seems to put an extra newline after any categorytree, compared to other text.

Try inserting this:

Header with a normal amount of newlines to next header

<categorytree mode="pages">some category</categorytree>

Header with one less newline, to compensate for the bug

<categorytree mode="pages">some category</categorytree>

Example

*Example...

This has the effect that if you click edit on a section of an article instead of the whole article, then it'll add an extra linebreak to the resulting article.

The fix is to remove or uncomment line 394 of CategoryTreeFunctions.php that says: '$html .= "\n\t\t";'


Version: unspecified
Severity: normal

Details

Reference
bz17783

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:33 PM
bzimport set Reference to bz17783.
bzimport added a subscriber: Unknown Object (MLST).