summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-19 21:57:29 +0400
committerAndrew Dolgov <[email protected]>2013-03-19 21:57:29 +0400
commit2229e6ed6b07d4a28b04689a21c645bdb83652f7 (patch)
tree4a570e3c5cb5b04e1602f081b3b18692eb1c3d73 /include
parenta122b50707e34c0c5638c2bfb12229a23a46a0ff (diff)
strip_harmful_tags: allow article
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 4eff1149e..affd4d4dc 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2634,7 +2634,7 @@
function strip_harmful_tags($doc) {
$entries = $doc->getElementsByTagName("*");
- $allowed_elements = array('a', 'address', 'audio',
+ $allowed_elements = array('a', 'address', 'audio', 'article',
'b', 'big', 'blockquote', 'body', 'br', 'cite',
'code', 'dd', 'del', 'details', 'div', 'dl',
'dt', 'em', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',