diff options
Diffstat (limited to 'enc')
-rw-r--r-- | enc/trans/escape.trans | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/enc/trans/escape.trans b/enc/trans/escape.trans index 63836c37a6..df4347cda6 100644 --- a/enc/trans/escape.trans +++ b/enc/trans/escape.trans @@ -5,19 +5,19 @@ str.unpack("H*")[0] end - transcode_tblgen("", "amp-escaped", [ + transcode_tblgen("", "amp_escape", [ ["{00-25,27-FF}", :nomap], ["26", hexstr("&")] ]) - transcode_tblgen("", "xml-text-escaped", [ + transcode_tblgen("", "xml_text_escape", [ ["{00-25,27-3B,3D,3F-FF}", :nomap], ["26", hexstr("&")], ["3C", hexstr("<")], ["3E", hexstr(">")] ]) - transcode_tblgen("", "xml-attr-content-escaped", [ + transcode_tblgen("", "xml_attr_content_escape", [ ["{00-21,23-25,27-3B,3D,3F-FF}", :nomap], ["22", hexstr(""")], ["26", hexstr("&")], @@ -74,7 +74,7 @@ escape_xml_attr_quote_finish(void *statep, unsigned char *o) static const rb_transcoder rb_escape_xml_attr_quote = { - "", "xml-attr-quoted", escape_xml_attr_quote, + "", "xml_attr_quote", escape_xml_attr_quote, TRANSCODE_TABLE_INFO, 1, /* input_unit_length */ 1, /* max_input */ |