| |
@@ -4274,7 +4274,7 @@
|
| |
attrs = bleach.ALLOWED_ATTRIBUTES.copy()
|
| |
attrs["table"] = ["class"]
|
| |
attrs["span"] = ["class", "id"]
|
| |
- attrs["div"] = ["class"]
|
| |
+ attrs["div"] = ["class", "id"]
|
| |
attrs["td"] = ["align"]
|
| |
attrs["th"] = ["align"]
|
| |
if not ignore or "img" not in ignore:
|
| |
This basically fixes internal references within a rst document by
allowing the anchor to be created.
Fixes https://pagure.io/pagure/issue/2096
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr