tbmx 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tbmx.rb +4 -0
  2. metadata +3 -2
data/lib/tbmx.rb CHANGED
@@ -162,6 +162,10 @@ module TBMX
162
162
  FRONT_MATCH_REGEX = /[^\s{}\\]+/
163
163
  COUNT_REGEX = /[\s{}\\]/
164
164
 
165
+ def to_html
166
+ html_escape text
167
+ end
168
+
165
169
  def word
166
170
  text
167
171
  end
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.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-15 00:00:00.000000000 Z
12
+ date: 2013-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -75,3 +75,4 @@ signing_key:
75
75
  specification_version: 3
76
76
  summary: TBMX is a markup language based on TeX for ThinkingBicycle.com.
77
77
  test_files: []
78
+ has_rdoc: