dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5e902
)
Added reversed as acceptable attribute for ol
author
Lee Bousfield
<ljbousfield@gmail.com>
Sun, 22 Nov 2015 02:24:29 +0000
(19:24 -0700)
committer
Brian Wolff
<bawolff+wn@gmail.com>
Sun, 22 Nov 2015 17:39:15 +0000
(17:39 +0000)
According to w3 at http://www.w3.org/TR/html-markup/ol.html reversed
specifies if the list order should be reversed.
Bug: T118701
Change-Id: I357957faafadfae1a0300d1cb8ba7eaa3fa0aed5
includes/Sanitizer.php
patch
|
blob
|
history
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
a856f1e
..
4fc3209
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-1631,7
+1631,7
@@
class Sanitizer {
# 10.2
'ul' => array_merge( $common, array( 'type' ) ),
- 'ol' => array_merge( $common, array( 'type', 'start' ) ),
+ 'ol' => array_merge( $common, array( 'type', 'start'
, 'reversed'
) ),
'li' => array_merge( $common, array( 'type', 'value' ) ),
# 10.3