Topic on Extension talk:TabberNeue

Are tab separators and their titles whitespace insensitive?

2
Snowyamur9889 (talkcontribs)

If I made a tabber using the <tabber> tags like this:

Example 1

<tabber>
Title1=
...
|-|Title2=
...
|-|Title3=
...
</tabber>

I know that three tabs named "Title1", "Title2", and "Title3" will be made correctly.


But what if I had a tabber written like this?

Example 2

<tabber>
Title1=
...
|-|


Title2=
...
|-|
Title3=
...
</tabber>

I tested this locally on another wiki and found that visually, the tabs do not create extra whitespace. This is inspite of "Title2=" having so much space preceding it, and "Title3=" being written on new line below its separator |-|.


So I would like to know if whitespace is stripped when putting empty line breaks between tab separators |-| and their titles with equal signs =.

If this is the case, I think this is something important to point out under Extension:TabberNeue#Usage because I have seen editors write the separators and titles inline (Example 1), while some write them as blocks (Example 2) for different readability reasons.


EDIT: Here are the specs of the wiki I tested on:

Product Version
MediaWiki 1.39.0
PHP 8.0.26 (fpm-fcgi)
Vector 1.0.0
TabberNeue 1.7.4
2600:4040:1304:6500:99A0:E0DE:1A3:B945 (talkcontribs)

The documentation should also clarify how it handles whitespace *within* the tab name, e.g. is "Title 1" the same as "Title 1".

Reply to "Are tab separators and their titles whitespace insensitive?"