Previously (on 3.1.10) I was using these definitions:
Code: Select all
[table]{TEXT}[/table]
<table>{TEXT}</table>
[table=center]{TEXT}[/table]
<table class="center">{TEXT}</table>
[tr]{TEXT}[/tr]
<tr>{TEXT}</tr>
[th]{TEXT}[/th]
<th>{TEXT}</th>
[td]{TEXT}[/td]
<td>{TEXT}</td>
[th={NUMBER1},{NUMBER2}]{TEXT}[/th]
<th colspan="{NUMBER1}" rowspan="{NUMBER2}">{TEXT}</th>
[td={NUMBER1},{NUMBER2}]{TEXT}[/td]
<td colspan="{NUMBER1}" rowspan="{NUMBER2}">{TEXT}</td>
[table]
itself) stopped working and started showing as plain text (on newly submitted posts). After some testing I have found out that renaming those "overloaded" cell tags (th=
, td=
) to something else (for ex. thc=
, tdc=
) solves the problem.So far so good. Unfortunately, I have noticed that when I do so, all OLD posts, that contain this BBCode tag, become broken (again, BBCode is shown as plain text). The board is very large, so manually editing all affected posts is out of question.
Software used on web server (shouldn't matter, just for the sake of completness):
- PHP 5.4.44
- MySQL 5.6.26
- NGINX 1.13.6