Page MenuHomePhabricator

Sanitizer.php.diff

Authored By
bzimport
Nov 21 2014, 7:07 PM
Size
1 KB
Referenced Files
None
Subscribers
None

Sanitizer.php.diff

Index: Sanitizer.php
===================================================================
--- Sanitizer.php (revision 20306)
+++ Sanitizer.php (working copy)
@@ -340,7 +340,8 @@
'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's',
'strike', 'strong', 'tt', 'var', 'div', 'center',
'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre',
- 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u'
+ 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u',
+ 'cite', 'dfn', 'samp', 'kbd', 'abbr', 'acronym', 'q'
);
$htmlsingle = array(
'br', 'hr', 'li', 'dt', 'dd'
@@ -1076,20 +1077,20 @@
# bdo
# 9.2.1
+ 'cite' => $common,
'em' => $common,
'strong' => $common,
- 'cite' => $common,
- # dfn
+ 'dfn' => $common,
'code' => $common,
- # samp
- # kbd
+ 'samp' => $common,
+ 'kbd' => $common,
'var' => $common,
- # abbr
- # acronym
+ 'abbr' => $common,
+ 'acronym' => $common,
# 9.2.2
'blockquote' => array_merge( $common, array( 'cite' ) ),
- # q
+ 'q' => array_merge( $common, array( 'cite' ) ),
# 9.2.3
'sub' => $common,

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1218
Default Alt Text
Sanitizer.php.diff (1 KB)

Event Timeline