aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index c79f3059..b6ecb8d7 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -460,6 +460,12 @@ class Root:
# Description (full content) of the article
description = article.article_description
if description:
+ p = re.compile(r'<code><')
+ q = re.compile(r'></code>')
+
+ description = p.sub('<code>&lt;', description)
+ description = q.sub('&gt;</code>', description)
+
html += description + "\n<br /><br /><br />"
else:
html += "No description available.\n<br /><br /><br />"
bgstack15