mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Added [th] bbcode tag support.
This commit is contained in:
parent
e575a3a02c
commit
135005571f
1 changed files with 1 additions and 0 deletions
|
@ -165,6 +165,7 @@ lower-alpha;">$2</ul>' ,$Text);
|
|||
$Text = preg_replace("/\[list=((?-i)A)\](.*?)\[\/list\]/ism", '<ul class="listupperalpha" style="list-style-type:
|
||||
upper-alpha;">$2</ul>' ,$Text);
|
||||
|
||||
$Text = preg_replace("/\[th\](.*?)\[\/th\]/sm", '<th>$1</th>' ,$Text);
|
||||
$Text = preg_replace("/\[td\](.*?)\[\/td\]/sm", '<td>$1</td>' ,$Text);
|
||||
$Text = preg_replace("/\[tr\](.*?)\[\/tr\]/sm", '<tr>$1</tr>' ,$Text);
|
||||
$Text = preg_replace("/\[table\](.*?)\[\/table\]/sm", '<table>$1</table>' ,$Text);
|
||||
|
|
Loading…
Reference in a new issue