示例#1
0
 /**
  * Parses the given Textile input in un-restricted mode.
  *
  * @param $text     string The Textile input to parse
  * @param $lite     boolean|string Switch to lite mode
  * @param $encode   string Encode input and return
  * @param $no_image string Disables images
  * @param $strict   boolean|string false to strip whitespace before parsing
  * @param $rel      string Relationship attribute applied to generated links
  * @return string Parsed $text
  */
 public function textileThis($text, $lite = '', $encode = '', $no_image = '', $strict = '', $rel = '')
 {
     return $this->parseSpans(parent::textileThis($text, $lite, $encode, $no_image, $strict, $rel));
 }
示例#2
0
文件: Wiki.php 项目: TuxBoy/Demo-saf
 /**
  * Parse a string using textile
  *
  * @param $string string
  * @return string
  */
 public function textile($string)
 {
     return Textile::parse($string);
 }