Rewrite encode_base_entities() to better encode_char_entities(). Implement encode_attr_entities().
Rewrite encode_base_entities() to better encode_char_entities().
Implement encode_attr_entities().

tupinek/Tags,tupinek/Tags