<?php
-// $Id: stationary.inc.php,v 1.8 2006/02/07 06:26:42 teanan Exp $
+// $Id: stationary.inc.php,v 1.9 2011/01/25 15:01:01 henoheno Exp $
//
// Stationary plugin
// License: The same as PukiWiki
$result = join(',', $args);
}
- return '#stationary(' . htmlspecialchars($result) . ')<br />';
+ return '#stationary(' . htmlsc($result) . ')<br />';
}
// In-line type plugin: &stationary; or &stationary(foo); , or &stationary(foo){bar};
$args[$key] = trim($args[$key]);
$result = join(',', $args);
- return '&stationary(' . htmlspecialchars($result) . '){' . $body . '};';
+ return '&stationary(' . htmlsc($result) . '){' . $body . '};';
}
// Action-type plugin: ?plugin=stationary&foo=bar
$msg = 'Message';
$body = 'Message body';
- return array('msg'=>htmlspecialchars($msg), 'body'=>htmlspecialchars($body));
+ return array('msg' => htmlsc($msg), 'body' => htmlsc($body));
}
?>