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.

14 lines
398B

  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. }