mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-23 16:06:45 +00:00
fix: square brackets should be correctly rendered in tab names
Removing some of the legacy string replace code that is used to get around wikitext formatting. It is not needed anymore. Fixes: #158
This commit is contained in:
parent
90fa41594a
commit
3bacdb7c87
|
@ -86,9 +86,6 @@ class Tabber {
|
|||
|
||||
return sprintf( '[%s]', $tab );
|
||||
}
|
||||
$htmlTabs = preg_replace( '/\\\n/', '', $htmlTabs );
|
||||
$htmlTabs = preg_replace( '/\\\*/', '', $htmlTabs );
|
||||
$htmlTabs = str_replace( [ '"[', ']"' ], [ '[', ']' ], $htmlTabs );
|
||||
|
||||
return '<div class="tabber">' .
|
||||
'<header class="tabber__header"></header>' .
|
||||
|
|
Loading…
Reference in a new issue