Commit 1c90a3dc authored by Claude Paroz's avatar Claude Paroz
Browse files

Fixed #24985 -- Added note about possible invalid feed content

Thanks Michael Wood for the report and Tim Graham for the review.
parent 4a665648
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -919,7 +919,10 @@ They share this interface:
    ``self.feed`` for use with `custom feed generators`_.

    All parameters should be Unicode objects, except ``categories``, which
    should be a sequence of Unicode objects.
    should be a sequence of Unicode objects. Beware that some control characters
    are `not allowed <http://www.w3.org/International/questions/qa-controls>`_
    in XML documents. If your content has some of them, you might encounter a
    :exc:`ValueError` when producing the feed.

:meth:`.SyndicationFeed.add_item`
    Add an item to the feed with the given parameters.