summaryrefslogtreecommitdiff
path: root/beautifulsoup/element.py
AgeCommit message (Collapse)Author
2023-01-25Removed very copy of the code that was imported as part of the bzr import ↵Leonard Richardson
but not removed.
2011-02-26Made EntitySubstitution a utility class, not the kind of class you subclass.Leonard Richardson
2011-02-26The attribute list comes in as a dictionary, so stop turning it into a list ↵Leonard Richardson
for no reason. Saves code and a little time. Sort outgoing attributes so that the tests will run consistently.
2011-02-26Minor cleanup and adding docstrings.Leonard Richardson
2011-02-26Removed the redundant pretty_print argument except for the top level.Leonard Richardson
2011-02-26Cleaned up decodeContents, and removed encodeContents, which isn't used.Leonard Richardson
2011-02-26Refactored the code that makes a string output-ready.Leonard Richardson
2011-02-26Renamed replace_with_html_entities to substitute_html_entities.Leonard Richardson
2011-02-26First stab at HTML entity replacement.Leonard Richardson
2011-02-22Solved the question of how to decide between ' (XML) and &squot; (HTML) ↵Leonard Richardson
by cutting the Gordian knot: quote the *double* quotes, which are always ".
2011-02-21PEP-8-ified more argument names.Leonard Richardson
2011-02-21Renamed prettyPrint to pretty_print.Leonard Richardson
2011-02-21Removed the now-useless Entities class.Leonard Richardson
2011-02-21Got rid of isString.Leonard Richardson
2011-02-21Switched Tag.decode to use EntitySubstitution.substitute_xml.Leonard Richardson
2011-02-20Added tests of custom lists of empty-element tags.Leonard Richardson
2011-02-20Tag.is_empty_element is determined dynamically, based on a) whether the ↵Leonard Richardson
builder used to create the tag had an explicit list of empty-element tags, and b) whether the tag actually contains anything.
2011-02-18Still trying to get html5lib to rewrite the META tag.Leonard Richardson
2011-02-18Moved the substitution code to the Tag constructor so that we don't have to ↵Leonard Richardson
rely on handle_starttag to trigger it.
2011-02-18Fixed the findAll backwards compatibility alias.Leonard Richardson
2011-02-18Fixed test failures that were masked by the compatibility methods.Leonard Richardson
2011-02-18Did a bunch more renames--they're listed in the CHANGELOG.Leonard Richardson
2011-02-18Renamed findAllPrevious to find_all_previous.Leonard Richardson
2011-02-18Renamed findAllNext to find_all_next.Leonard Richardson
2011-02-18Renamed findNext to find_next.Leonard Richardson
2011-02-18Renamed a straggler generator.Leonard Richardson
2011-02-18Renamed the generators and made them properties.Leonard Richardson
2011-02-18Renamed recursiveChildGenerator to recursive_children.Leonard Richardson
2011-02-18Renamed findAll to find_all.Leonard Richardson
2011-02-18Got rid of _convertEntities altogether (though I'll probably have to ↵Leonard Richardson
introduce a method that does the opposite.)
2011-02-18Removed builder argument from _convertEntities.Leonard Richardson
2011-02-18Convert all entities to Unicode, don't make it configurable.Leonard Richardson
2011-02-13Added tests for namespaced doctypes.Leonard Richardson
2011-02-10Added some elementary doctype handling.Leonard Richardson
2011-02-10Fixed the ability to encode strings.Leonard Richardson
2011-01-28Made .string a dynamic property.Leonard Richardson
2011-01-28Moved the code back into a beautifulsoup/ directory.Leonard Richardson