Cleaner clobbers 'rel' tag rather than appending 'nofollow' to it when add_nofollow=True

Bug #971754 reported by Chris Dary on 2012-04-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Low
Christine Koppelt

Bug Description

This should be a space-separated list of attributes, as defined here: http://www.w3.org/TR/html401/struct/links.html#adef-rel

But the Cleaner clobbers the current attribute and just sets nofollow. This causes problems for me when looking for, a rel="author" for example.

Changed in lxml:
assignee: nobody → Christine Koppelt (ch-ko123)
Changed in lxml:
status: New → In Progress
scoder (scoder) wrote :
Changed in lxml:
importance: Undecided → Low
status: In Progress → Fix Committed
scoder (scoder) wrote :

Fixed in lxml 3.2.0.

Changed in lxml:
status: Fix Committed → Fix Released
scoder (scoder) on 2013-04-28
Changed in lxml:
milestone: none → 3.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers