aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-09 21:31:14 -0700
committerredmatrix <mike@macgirvin.com>2016-09-09 21:31:14 -0700
commit045cd48687d6a256b5342400e06aa75e61c2bf05 (patch)
treee96fe25bad30be9e1f088b909f204033935feee3 /include/text.php
parent7121d8e42715b0f14a05d497fbe4fdeff6e76fd8 (diff)
parent57dc362d5dcc1b842d6f8a97940a217efc5875ac (diff)
downloadvolse-hubzilla-045cd48687d6a256b5342400e06aa75e61c2bf05.tar.gz
volse-hubzilla-045cd48687d6a256b5342400e06aa75e61c2bf05.tar.bz2
volse-hubzilla-045cd48687d6a256b5342400e06aa75e61c2bf05.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 8b2e8b9e0..9c4a4a5c5 100644
--- a/include/text.php
+++ b/include/text.php
@@ -234,12 +234,15 @@ function purify_html($s, $allow_position = false) {
$def->info_global_attr['data-offset-bottom'] = new HTMLPurifier_AttrDef_Text;
//some html5 elements
+ //Block
$def->addElement('section', 'Block', 'Flow', 'Common');
$def->addElement('nav', 'Block', 'Flow', 'Common');
$def->addElement('article', 'Block', 'Flow', 'Common');
$def->addElement('aside', 'Block', 'Flow', 'Common');
$def->addElement('header', 'Block', 'Flow', 'Common');
$def->addElement('footer', 'Block', 'Flow', 'Common');
+ //Inline
+ $def->addElement('button', 'Inline', 'Inline', 'Common');
if($allow_position) {