Skip to content

Commit

Permalink
plugin nl2br: add missing 'u' inline element
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbrunker committed May 17, 2020
1 parent d78bc9e commit 6869e1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions plugins/serendipity_event_nl2br/Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
2.21.6: * add missing 'u' inline element
2.21.5: * nl2p: if the double newline contains spaces, e.g. \n \n, these
spaces are now ignored
* fixed the direct concatenation: if the body ends without a newline
Expand Down
4 changes: 2 additions & 2 deletions plugins/serendipity_event_nl2br/serendipity_event_nl2br.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function introspect(&$propbag)
$propbag->add('description', PLUGIN_EVENT_NL2BR_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Serendipity Team, Stephan Brunker');
$propbag->add('version', '2.21.5');
$propbag->add('version', '2.21.6');
$propbag->add('requirements', array(
'serendipity' => '1.6',
'smarty' => '2.6.7',
Expand Down Expand Up @@ -448,7 +448,7 @@ function clean_nl2brtags(&$entry)
'acronym', 'cite', 'code', 'dfn', 'em', 'kbd', 'strong',
'samp', 'var', 'bdo', 'bdi', 'map', 'object',
'q', 'script', 'span', 'sub', 'sup', 'button',
'label', 'select', 'textarea', 's', 'strike'
'label', 'select', 'textarea', 's', 'strike', 'u'
);

var $allowed_p_parents = array('blockquote', 'td', 'div', 'article', 'aside', 'dd',
Expand Down

0 comments on commit 6869e1b

Please sign in to comment.