aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 844717572..5b97c1d9b 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -1408,7 +1408,7 @@ function bbcode($text, $options = []) {
}
// Check for strike-through text
if (strpos($text,'[s]') !== false) {
- $text = preg_replace("(\[s\](.*?)\[\/s\])ism", '<span style="text-decoration: line-through;">$1</span>', $text);
+ $text = preg_replace("(\[s\](.*?)\[\/s\])ism", '<del>$1</del>', $text);
}
// Check for over-line text
if (strpos($text,'[o]') !== false) {