From: Lee Bousfield Date: Sun, 22 Nov 2015 02:24:29 +0000 (-0700) Subject: Added reversed as acceptable attribute for ol X-Git-Tag: 1.31.0-rc.0~8910 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=58f74237e0c4fb81b4c9a97e06a36f8809c7d237;p=lhc%2Fweb%2Fwiklou.git Added reversed as acceptable attribute for ol 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 --- diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index a856f1ee10..4fc3209902 100644 --- 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