mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
Support bbcode size tag - I may regret this...
This commit is contained in:
parent
6b8bbef6c7
commit
5899ae9017
4 changed files with 7 additions and 5 deletions
|
@ -26,6 +26,7 @@ function html2bbcode($s) {
|
|||
'/\<a (.*?)href=\"(.*?)\"(.*?)\>(.*?)\<\/a\>/is',
|
||||
'/\<code\>(.*?)\<\/code\>/is',
|
||||
'/\<span style=\"color:(.*?)\"\>(.*?)\<\/span\>/is',
|
||||
'/\<span style=\"font-size:(.*?)\"\>(.*?)\<\/span\>/is',
|
||||
'/\<blockquote\>(.*?)\<\/blockquote\>/is',
|
||||
'/\<video(.*?) src=\"(.*?)\" (.*?)\>(.*?)\<\/video\>/is',
|
||||
'/\<audio(.*?) src=\"(.*?)\" (.*?)\>(.*?)\<\/audio\>/is',
|
||||
|
@ -51,6 +52,7 @@ function html2bbcode($s) {
|
|||
'[url=$2]$4[/url]',
|
||||
'[code]$1[/code]',
|
||||
'[color="$1"]$2[/color]',
|
||||
'[size=$1]$2[/size]',
|
||||
'[quote]$1[/quote]',
|
||||
'[video]$1[/video]',
|
||||
'[audio]$1[/audio]',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue