Ver Fonte

Fixes bold bbc bug ... thanks to ema and illori

Signed-off-by: Bryan Deakin <[email protected]>
Bryan Deakin há 11 anos atrás
pai
commit
7f3407f2ea
2 ficheiros alterados com 5 adições e 2 exclusões
  1. 2 2
      Sources/Subs.php
  2. 3 0
      Themes/default/css/index.css

+ 2 - 2
Sources/Subs.php

@@ -1009,8 +1009,8 @@ function parse_bbc($message, $smileys = true, $cache_id = '', $parse_tags = arra
 			),
 			array(
 				'tag' => 'b',
-				'before' => '<strong>',
-				'after' => '</strong>',
+				'before' => '<span class="bbc_bold">',
+				'after' => '</span>',
 			),
 			array(
 				'tag' => 'bdo',

+ 3 - 0
Themes/default/css/index.css

@@ -398,6 +398,9 @@ h3.largetext {
 .bbc_color a {
 	color: inherit;
 }
+.bbc_bold {
+	font-weight: bold;
+}
 .bbc_img {
 	border: 0;
 }