summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-02-05 11:31:13 +0300
committerAndrew Dolgov <[email protected]>2016-02-05 11:31:13 +0300
commit50bda3fefbff31e5a5503d6fd1a927412fe29026 (patch)
treeb2fdbbd364fd31b9274de06e1a1a3902e022ea92 /include
parent0edf1d0dc0bce5c1473fce3feda1087784e49e22 (diff)
sanitize: allow <xml:namespace> (thanks, livejournal)
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 15797a95d..7c714f564 100755
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -979,7 +979,7 @@
'ol', 'p', 'pre', 'q', 'ruby', 'rp', 'rt', 's', 'samp', 'section',
'small', 'source', 'span', 'strike', 'strong', 'sub', 'summary',
'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'time',
- 'tr', 'track', 'tt', 'u', 'ul', 'var', 'wbr', 'video' );
+ 'tr', 'track', 'tt', 'u', 'ul', 'var', 'wbr', 'video', 'xml:namespace' );
if ($_SESSION['hasSandbox']) $allowed_elements[] = 'iframe';