summaryrefslogtreecommitdiff
path: root/bs4/element.py
AgeCommit message (Expand)Author
2012-02-27Make prettify() return Unicode by default, so it will look nice when passed i...Leonard Richardson
2012-02-26Fixed DOCTYPE handling.Leonard Richardson
2012-02-24Renamed Tag.nsprefix to Tag.prefix, for consistency with NamespacedAttribute.Leonard Richardson
2012-02-23Fixed handling of the closing of namespaced tags.Leonard Richardson
2012-02-23Bumped version number.Leonard Richardson
2012-02-23Namespaced attributes are equal if they correspond to the same string.Leonard Richardson
2012-02-23Merge from trunk and added tests.Leonard Richardson
2012-02-21Have lxml invert namespace maps as they come in and set each tag's prefix app...Leonard Richardson
2012-02-21Added nsprefix argument to the tag class.Leonard Richardson
2012-02-21Merged from trunk.Leonard Richardson
2012-02-20Added code from 2.7's standard library so that the tests will run on Python 2.6.Leonard Richardson
2012-02-16It's a start, at least.Leonard Richardson
2012-02-16By default, turn unrecognized characters into numeric XML entity refs.Leonard Richardson
2012-02-15Added a kind of hacky way to interpret the restriction class='foo bar'. Stop ...Leonard Richardson
2012-02-15The value of multi-valued attributes like class are always turned into a list...Leonard Richardson
2012-02-15Some cdata-list attributes are only cdata lists for certain tags.Leonard Richardson
2012-02-15Better defined behavior when the user wants to search for a combination of te...Leonard Richardson
2012-02-09Fixed a bug that wrecked the tree if you replaced an element with an empty st...Leonard Richardson
2012-02-09Fixed a bug that caused a crash when you passed a dictionary as an attribute ...Leonard Richardson
2012-02-08Rationalized the treatment of multi-valued HTML attributes such as 'class'Leonard Richardson
2012-02-08Switched around the implementation of insert_before and insert_after to match...Leonard Richardson
2012-02-08Renamed move_* back to insert_*Leonard Richardson
2012-02-07Renamed insert_before to move_before, to avoid confusion with the way insert(...Leonard Richardson
2012-02-07Added and tested insert_before and insert_after.Leonard Richardson
2012-02-07Made the formatter something you pass in rather than a variable you set.Leonard Richardson
2012-02-07On output, always convert special XML characters to entities.Leonard Richardson
2012-02-07It's OK for a tag to contain another, identical tag, just not for it to conta...Leonard Richardson
2012-02-06You can't replace a tag with its parent, or insert a tag into itself. replace...Leonard Richardson
2012-02-01Cleaned up the TODO.Leonard Richardson
2012-02-01Generators no longer yield None after going off the end of the iteration.Leonard Richardson
2012-02-01Got the new-tag test to pass.Leonard Richardson
2012-02-01Added tag creation and string generators, both created while writing the docs.Leonard Richardson
2012-02-01Committed minor changes made while writing docs.Leonard Richardson
2011-06-29Various changes so most tests pass on Python 3.Thomas Kluyver
2011-05-21OK, figured that out.Leonard Richardson
2011-05-21Deprecated has_key in favor of has_attr.Leonard Richardson
2011-05-21More Python 3 compatibility.Leonard Richardson
2011-05-21More Python 3 compatibility.Leonard Richardson
2011-05-21More Python 3 compatibility.Leonard Richardson
2011-05-21More Python 3 compatibility.Leonard Richardson
2011-05-21Renamed .next and .previous to .next_element and .previous_element.Leonard Richardson
2011-05-21Got rid of isList utility function.Leonard Richardson
2011-03-05PEP8ifyingAaron DeVore
2011-03-05Modify attributes and implementation to always use underscore_namesAaron DeVore
2011-03-05Add 3.0.7a -> 3.0.8 changes, plus some tweaksAaron DeVore
2011-02-28Minor changes.Leonard Richardson
2011-02-28Removed seemingly unneccessary to_encoding method.Leonard Richardson
2011-02-28PEP-8-ified some minor methods.Leonard Richardson
2011-02-28Finished renaming replaceWith to replace_with.Leonard Richardson
2011-02-28Renamed replaceWith to replace_with.Leonard Richardson