itextomml 1.3.22 → 1.3.23
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/itex2MML.h +3 -3
- data/ext/lex.yy.c +1417 -1405
- data/lib/itextomml.rb +3 -7
- metadata +3 -3
data/lib/itextomml.rb
CHANGED
@@ -84,17 +84,13 @@ module Itex2MML
|
|
84
84
|
def as_bytes(string)
|
85
85
|
string.force_encoding("ASCII-8BIT")
|
86
86
|
end
|
87
|
-
else
|
88
|
-
def as_bytes(string)
|
89
|
-
string
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
if "".respond_to?(:force_encoding)
|
94
87
|
def as_utf8(string)
|
95
88
|
string.force_encoding("UTF-8")
|
96
89
|
end
|
97
90
|
else
|
91
|
+
def as_bytes(string)
|
92
|
+
string
|
93
|
+
end
|
98
94
|
def as_utf8(string)
|
99
95
|
string
|
100
96
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 1.3.
|
8
|
+
- 23
|
9
|
+
version: 1.3.23
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jacques Distler
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-28 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|