From: <var...@us...> - 2014-06-13 12:02:01
|
Revision: 8905 http://sourceforge.net/p/phpwiki/code/8905 Author: vargenau Date: 2014-06-13 12:01:58 +0000 (Fri, 13 Jun 2014) Log Message: ----------- 'acronym' is deprecated in HTML 5, replace by 'abbr' Modified Paths: -------------- trunk/lib/InlineParser.php Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2014-06-13 09:42:38 UTC (rev 8904) +++ trunk/lib/InlineParser.php 2014-06-13 12:01:58 UTC (rev 8905) @@ -911,10 +911,8 @@ function markup($match, $body) { - if (substr($match, 1, 4) == 'abbr') - $tag = 'abbr'; - else - $tag = 'acronym'; + // 'acronym' is deprecated in HTML 5, replace by 'abbr' + $tag = 'abbr'; $rest = substr($match, 1 + strlen($tag), -1); $attrs = parse_attributes($rest); // Remove attributes other than title and lang This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |