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