From 58f74237e0c4fb81b4c9a97e06a36f8809c7d237 Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Sat, 21 Nov 2015 19:24:29 -0700 Subject: [PATCH] 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 --- includes/Sanitizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1