Home
last modified time | relevance | path

Searched refs:substitute_xml (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
Dtest_soup.py134 self.assertEqual(self.sub.substitute_xml(s, False), s)
137 self.assertEqual(self.sub.substitute_xml("Welcome", True),
139 self.assertEqual(self.sub.substitute_xml("Bob's Bar", True),
144 self.assertEqual(self.sub.substitute_xml(s, True),
150 self.sub.substitute_xml(s, True),
155 self.assertEqual(self.sub.substitute_xml(quoted), quoted)
159 self.sub.substitute_xml("foo<bar>"),
163 self.assertEqual(self.sub.substitute_xml("AT&T"), "AT&amp;T")
167 self.sub.substitute_xml("&Aacute;T&T"),
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
Delement.py115 def substitute_xml(cls, ns): member in HTMLAwareEntitySubstitution
117 ns, EntitySubstitution.substitute_xml)
143 "minimal" : HTMLAwareEntitySubstitution.substitute_xml,
149 "minimal" : EntitySubstitution.substitute_xml,
183 name, EntitySubstitution.substitute_xml)
186 name, HTMLAwareEntitySubstitution.substitute_xml)
Ddammit.py137 def substitute_xml(cls, value, make_quoted_attribute=False): member in EntitySubstitution
/external/chromium-trace/catapult/third_party/beautifulsoup4/doc/source/
Dindex.rst2169 "minimal" formatter is ``EntitySubstitution.substitute_xml``. You can