tbmx 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/tbmx.rb +3 -3
  2. 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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tbmx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: