mirror of
https://github.com/friendica/friendica
synced 2025-04-20 17:10:10 +00:00
[BBCode] Improve support for strikethrough
This commit is contained in:
parent
83c3744628
commit
369518e7b6
2 changed files with 4 additions and 1 deletions
|
@ -1583,7 +1583,7 @@ class BBCode extends BaseObject
|
|||
$text = preg_replace("(\[u\](.*?)\[\/u\])ism", '<u>$1</u>', $text);
|
||||
|
||||
// Check for strike-through text
|
||||
$text = preg_replace("(\[s\](.*?)\[\/s\])ism", '<strike>$1</strike>', $text);
|
||||
$text = preg_replace("(\[s\](.*?)\[\/s\])ism", '<s>$1</s>', $text);
|
||||
|
||||
// Check for over-line text
|
||||
$text = preg_replace("(\[o\](.*?)\[\/o\])ism", '<span class="overline">$1</span>', $text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue