2 /////////////////////////////////////////////////
3 // PukiWiki - Yet another WikiWikiWeb clone.
5 // $Id: ruby.inc.php,v 1.4 2004/07/31 03:09:20 henoheno Exp $
8 function plugin_ruby_inline()
10 if (func_num_args() != 2)
15 list($ruby,$body) = func_get_args();
17 if ($ruby == '' or $body == '')
22 $s_ruby = htmlspecialchars($ruby);
23 return "<ruby><rb>$body</rb><rp>(</rp><rt>$s_ruby</rt><rp>)</rp></ruby>";