srdperu-prawn-format 1.1.1 → 1.1.2

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/prawn/format/lexer.rb +20 -2
  2. metadata +1 -1
@@ -142,7 +142,7 @@ module Prawn
142
142
  { :type => :text, :text => pieces }
143
143
  end
144
144
  end
145
-
145
+
146
146
  ENTITY_MAP = {
147
147
  "lt" => "<",
148
148
  "gt" => ">",
@@ -151,7 +151,25 @@ module Prawn
151
151
  "ndash" => "\xE2\x80\x93",
152
152
  "nbsp" => "\xC2\xA0",
153
153
  "bull" => "\342\200\242",
154
- "quot" => '"',
154
+ "quot" => '"',
155
+ "trade" => '™',
156
+ "iexcl" => '¡',
157
+ "cent" => '¢',
158
+ "pound" => '£',
159
+ "curren" => '¤',
160
+ "copy" => '©',
161
+ "aacute" => 'á',
162
+ "eacute" => 'é',
163
+ "iacute" => 'í',
164
+ "oacute" => 'ó',
165
+ "uacute" => 'ú',
166
+ "Aacute" => 'Á',
167
+ "Eacute" => 'É',
168
+ "Iacute" => 'Í',
169
+ "Oacute" => 'Ó',
170
+ "Uacute" => 'Ú',
171
+ "ntilde" => 'ñ',
172
+ "Ntilde" => 'Ñ',
155
173
  }
156
174
 
157
175
  def scan_entity
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: srdperu-prawn-format
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - srdperu