sanitize: remove doctype properly, add experimental workaround against unnecessary html elements in sanitized data
remove a few parser warnings from generated feeds
Merge remote-tracking branch 'upstream/master'