summaryrefslogtreecommitdiff
path: root/NEWS.txt
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS.txt')
-rw-r--r--NEWS.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/NEWS.txt b/NEWS.txt
index 440869c..a3485e7 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -5,6 +5,16 @@
list of tags and strings without having to check whether each
element is a tag or a string.
+* The default XML formatter will now replace ampersands even if they
+ appear to be part of entities. That is, "<" will become
+ "<". The old code was left over from Beautiful Soup 3, which
+ didn't always turn entities into Unicode characters.
+
+ If you really want the old behavior (maybe because you add new
+ strings to the tree, those strings include entities, and you want
+ the formatter to leave them alone on output), it can be found in
+ EntitySubstitution.substitute_xml_containing_entities(). [bug=1182183]
+
* Gave new_string() the ability to create subclasses of
NavigableString. [bug=1181986]