From: <var...@us...> - 2014-06-19 15:38:02
|
Revision: 8919 http://sourceforge.net/p/phpwiki/code/8919 Author: vargenau Date: 2014-06-19 15:37:54 +0000 (Thu, 19 Jun 2014) Log Message: ----------- Use span with class for <big>, <strike> and <tt> Modified Paths: -------------- trunk/lib/InlineParser.php Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2014-06-19 15:36:57 UTC (rev 8918) +++ trunk/lib/InlineParser.php 2014-06-19 15:37:54 UTC (rev 8919) @@ -860,6 +860,9 @@ function markup($match, $body) { $tag = substr($match, 1, -1); + if (($tag == 'big') || ($tag == 'strike') || ($tag == 'tt')) { + return new HtmlElement('span', array('class' => $tag), $body); + } return new HtmlElement($tag, $body); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |