Revert "Fixup from sebb"
This reverts commit af0c4a74edd8c37515e1107bec0b39701a9987f5.
diff --git a/theme/plugins/asfgenid.py b/theme/plugins/asfgenid.py
index 7a1c8cf..d508675 100644
--- a/theme/plugins/asfgenid.py
+++ b/theme/plugins/asfgenid.py
@@ -40,7 +40,12 @@
# Fixup tuples for HTML that GFM makes into text.
FIXUP_UNSAFE = [
- (re.compile(r'<(/?(script|style|iframe))'), '<\1'),
+ (re.compile(r'<script'), '<script'),
+ (re.compile(r'</script'), '</script'),
+ (re.compile(r'<style'), '<style'),
+ (re.compile(r'</style'), '</style'),
+ (re.compile(r'<iframe'), '<iframe'),
+ (re.compile(r'</iframe'), '</iframe')
]
# Find {{ metadata }} inclusions