add strong-tag to text formatting
This commit is contained in:
parent
85eb9e5004
commit
0e15287639
1 changed files with 4 additions and 0 deletions
|
|
@ -60,6 +60,10 @@
|
||||||
// Remove chars
|
// Remove chars
|
||||||
$string = htmlspecialchars($string, ENT_NOQUOTES);
|
$string = htmlspecialchars($string, ENT_NOQUOTES);
|
||||||
|
|
||||||
|
// Important text
|
||||||
|
$string = str_replace('[strong]', '<strong>', $string);
|
||||||
|
$string = str_replace('[/strong]', '</strong>', $string);
|
||||||
|
|
||||||
// Create tables
|
// Create tables
|
||||||
$string = str_replace('[table]', '</p><table>', $string);
|
$string = str_replace('[table]', '</p><table>', $string);
|
||||||
$string = str_replace('[/table]', '</table><p>', $string);
|
$string = str_replace('[/table]', '</table><p>', $string);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue