diff options
Diffstat (limited to 'includes/pear/Text/Wiki/Render/Xhtml/Underline.php')
| -rwxr-xr-x[-rw-r--r--] | includes/pear/Text/Wiki/Render/Xhtml/Underline.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/includes/pear/Text/Wiki/Render/Xhtml/Underline.php b/includes/pear/Text/Wiki/Render/Xhtml/Underline.php index a6cbf59..5e604f2 100644..100755 --- a/includes/pear/Text/Wiki/Render/Xhtml/Underline.php +++ b/includes/pear/Text/Wiki/Render/Xhtml/Underline.php @@ -9,7 +9,7 @@ * @package Text_Wiki * @author Paul M. Jones <pmjones@php.net> * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: Underline.php 191862 2005-07-30 08:03:29Z toggg $ + * @version CVS: $Id$ * @link http://pear.php.net/package/Text_Wiki */ @@ -25,9 +25,9 @@ */ class Text_Wiki_Render_Xhtml_Underline extends Text_Wiki_Render { - var $conf = array( - 'css' => null - ); + public $conf = [ + "css" => null, + ]; /** * @@ -44,14 +44,14 @@ class Text_Wiki_Render_Xhtml_Underline extends Text_Wiki_Render { function token($options) { - if ($options['type'] == 'start') { - $css = $this->formatConf(' class="%s"', 'css'); + if ($options["type"] == "start") { + $css = $this->formatConf(' class="%s"', "css"); return "<u$css>"; } - if ($options['type'] == 'end') { - return '</u>'; + if ($options["type"] == "end") { + return "</u>"; } + return ""; } } -?> |
