Searched refs:EntitySubstitution (Results 1 – 6 of 6) sorted by relevance
5 from bs4.dammit import EntitySubstitution84 class HTMLAwareEntitySubstitution(EntitySubstitution):112 ns, EntitySubstitution.substitute_html)117 ns, EntitySubstitution.substitute_xml)148 "html" : EntitySubstitution.substitute_html,149 "minimal" : EntitySubstitution.substitute_xml,183 name, EntitySubstitution.substitute_xml)1038 + EntitySubstitution.quoted_attribute_value(text))
50 class EntitySubstitution(object): class
34 from bs4.dammit import EntitySubstitution, UnicodeDammit82 character = EntitySubstitution.HTML_ENTITY_TO_CHARACTER.get(name)
21 EntitySubstitution,115 self.sub = EntitySubstitution
2166 ``EntitySubstitution`` class in the ``bs4.dammit`` module. This class2168 "html" formatter is ``EntitySubstitution.substitute_html``, and the2169 "minimal" formatter is ``EntitySubstitution.substitute_xml``. You can2176 from bs4.dammit import EntitySubstitution2178 return EntitySubstitution.substitute_html(str.upper())
73 EntitySubstitution.substitute_xml_containing_entities(). [bug=1182183]