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

Bug #971754 reported by Chris Dary
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Fix Released
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.

Tags: bug cleaner
Changed in lxml:
assignee: nobody → Christine Koppelt (ch-ko123)
Changed in lxml:
status: New → In Progress
Revision history for this message
scoder (scoder) wrote :
Changed in lxml:
importance: Undecided → Low
status: In Progress → Fix Committed
Revision history for this message
scoder (scoder) wrote :

Fixed in lxml 3.2.0.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.