Sha256: d5478b17b697dd84efde51e83e22e9543ae0e76dd7523f9ecc1b1087750d1d2a
Contents?: true
Size: 567 Bytes
Versions: 2
Compression:
Stored size: 567 Bytes
Contents
# encoding: UTF-8 require File.expand_path("../common", __FILE__) class HTML4Test < Test::Unit::TestCase attr_reader :html_entities def setup @html_entities = HTMLEntities.new('html4') end # Found by Marcos Kuhns def test_should_not_encode_apos_entity assert_equal "'", html_entities.encode("'", :basic) end def test_should_not_decode_apos_entity assert_equal "é'", html_entities.decode("é'") end def test_should_not_decode_dotted_entity assert_equal "&b.Theta;", html_entities.decode("&b.Theta;") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
htmlentities-4.3.1 | test/html4_test.rb |
htmlentities-4.3.0 | test/html4_test.rb |