2 /////////////////////////////////////////////////
3 // PukiWiki - Yet another WikiWikiWeb clone.
5 // $Id: size.inc.php,v 1.6 2004/07/31 03:09:20 henoheno Exp $
8 function plugin_size_inline()
10 if (func_num_args() != 2)
15 list($size,$body) = func_get_args();
17 if ($size == '' or $body == '')
22 if (!preg_match('/^\d+$/',$size))
27 $s_size = htmlspecialchars($size);
28 return "<span style=\"font-size:{$s_size}px;display:inline-block;line-height:130%;text-indent:0px\">$body</span>";