diff options
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 6 |
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><', description) + description = q.sub('></code>', description) + html += description + "\n<br /><br /><br />" else: html += "No description available.\n<br /><br /><br />" |