KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smartypants.php 398B

9 years ago
12345678910111213
  1. <?php
  2. require "lib/smartypants.php";
  3. class Smartypants extends Modules {
  4. public function __init() {
  5. $this->addAlias("markup_text", "smartify", 9);
  6. $this->addAlias("markup_title", "smartify", 9);
  7. $this->addAlias("preview", "smartify", 9);
  8. }
  9. static function smartify($text) {
  10. return Smartypants($text);
  11. }
  12. }