lib/kramdown/utils/entities.rb in kramdown-0.9.0 vs lib/kramdown/utils/entities.rb in kramdown-0.10.0

- old
+ new

@@ -273,12 +273,10 @@ [255, 'yuml'], [8218, 'sbquo'], [402, 'fnof'], [8222, 'bdquo'], - [381, 'Zcaron'], - [382, 'zcaron'], [128, 8364], [130, 8218], [131, 402], [132, 8222], @@ -316,10 +314,9 @@ ENTITY_TABLE.each do |code_point, data| if data.kind_of?(String) ENTITY_MAP[code_point] = ENTITY_MAP[data] = Entity.new(code_point, data) else - raise "No entity object for code point #{data} found" unless ENTITY_MAP.has_key?(data) ENTITY_MAP[code_point] = ENTITY_MAP[data] end end # Return the entity for the given +point_or_name+.