tbmx 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tbmx.rb +3 -3
- metadata +1 -1
data/lib/tbmx.rb
CHANGED
@@ -216,9 +216,9 @@ module TBMX
|
|
216
216
|
"}"
|
217
217
|
when "br", "newline"
|
218
218
|
"\n</br>\n"
|
219
|
-
when "bold", "b"
|
219
|
+
when "bold", "b", "textbf"
|
220
220
|
"<b>" + expressions.map(&:to_html).join + "</b>"
|
221
|
-
when "italic", "i"
|
221
|
+
when "italic", "i", "textit"
|
222
222
|
"<i>" + expressions.map(&:to_html).join + "</i>"
|
223
223
|
when "underline", "u"
|
224
224
|
"<u>" + expressions.map(&:to_html).join + "</u>"
|
@@ -227,7 +227,7 @@ module TBMX
|
|
227
227
|
when "superscript", "sup"
|
228
228
|
"<sup>" + expressions.map(&:to_html).join + "</sup>"
|
229
229
|
else
|
230
|
-
%{<span style="color: red">[UNKNOWN COMMAND #{command.to_html}]}
|
230
|
+
%{<span style="color: red">[UNKNOWN COMMAND #{command.to_html}]</span>}
|
231
231
|
end
|
232
232
|
end
|
233
233
|
|