mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:50:12 +00:00
preliminary qcomment support, [nosmile] tag to disable smiley processing
This commit is contained in:
parent
f865939653
commit
03171fd7de
7 changed files with 45 additions and 4 deletions
|
@ -174,7 +174,10 @@ upper-alpha;">$2</ul>' ,$Text);
|
|||
$Text = preg_replace("/\[table border=0\](.*?)\[\/table\]/sm", '<table border="0" >$1</table>' ,$Text);
|
||||
|
||||
$Text = str_replace('[hr]','<hr />', $Text);
|
||||
|
||||
|
||||
// This is actually executed in prepare_body()
|
||||
|
||||
$Text = str_replace('[nosmile]','',$Text);
|
||||
|
||||
// Check for font change text
|
||||
$Text = preg_replace("/\[font=(.*?)\](.*?)\[\/font\]/sm","<span style=\"font-family: $1;\">$2</span>",$Text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue