Wiki:Changes to formatting rules
From Vermont Area Group of Unix Enthusiasts
There are no significant changes to the formatting rules.
Abbreviation and Acronym elements
In solidarity with Web accessibility, the abbreviation and acronym tags are enabled. It's unclear why they aren't supported by default.
--- wiki/includes/Sanitizer.php 2009-01-06 21:31:30.000000000 -0500
+++ wiki/includes/Sanitizer.php 2010-02-21 21:43:49.000000000 -0500
@@ -353,7 +353,7 @@
$htmlpairs = array_merge( $extratags, array( # Tags that must be closed
'b', 'del', 'i', 'ins', 'u', 'font', 'big', 'small', 'sub', 'sup', 'h1',
'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's',
- 'strike', 'strong', 'tt', 'var', 'div', 'center',
+ 'strike', 'strong', 'tt', 'var', 'abbr', 'acronym', 'div', 'center',
'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre',
'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u'
) );
@@ -1202,6 +1202,8 @@
'var' => $common,
# abbr
# acronym
+ 'abbr' => array('title'),
+ 'acronym' => array('title'),
# 9.2.2
'blockquote' => array_merge( $common, array( 'cite' ) ),

