Add "lower/upper roman" ordered list styles.

Add NEWS entry, bump version number.

Fixes #647.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2019-10-13 18:37:16 +02:00
parent 66494fdbe3
commit d319ad16f1
2 changed files with 10 additions and 1 deletions

View File

@ -10,6 +10,9 @@ Version 2.3.3-beta1 ()
published blog entries and ability to prepend a mail body. published blog entries and ability to prepend a mail body.
Also fixes missing "keep strip tags" configuration option Also fixes missing "keep strip tags" configuration option
* Fix: [bbcode] Get roman numerals working in bbcode plugin.
Thanks to Fabien Chabreuil!
* Fix: Force positive limits for number of entries shown on * Fix: Force positive limits for number of entries shown on
title page and in RSS feed. s9y doesn't work with 0 or title page and in RSS feed. s9y doesn't work with 0 or
negative numbers, so force our default (15) in this case, negative numbers, so force our default (15) in this case,

View File

@ -17,7 +17,7 @@ class serendipity_event_bbcode extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_BBCODE_DESC); $propbag->add('description', PLUGIN_EVENT_BBCODE_DESC);
$propbag->add('stackable', false); $propbag->add('stackable', false);
$propbag->add('author', 'Jez Hancock, Garvin Hicking'); $propbag->add('author', 'Jez Hancock, Garvin Hicking');
$propbag->add('version', '2.10'); $propbag->add('version', '2.11');
$propbag->add('requirements', array( $propbag->add('requirements', array(
'serendipity' => '1.6', 'serendipity' => '1.6',
'smarty' => '2.6.7', 'smarty' => '2.6.7',
@ -304,6 +304,12 @@ class serendipity_event_bbcode extends serendipity_event
.bb-list-ordered-ua { .bb-list-ordered-ua {
list-style-type: upper-alpha; list-style-type: upper-alpha;
} }
.bb-list-ordered-lr {
list-style-type:lower-roman;
}
.bb-list-ordered-ur {
list-style-type:upper-roman;
}
/* serendipity_event_bbcode end */ /* serendipity_event_bbcode end */