コード例 #1
0
ファイル: creole.php プロジェクト: EmmanuelYupit/educursos
 /**
  * Block hooks
  */
 protected function before_parsing()
 {
     $this->string = htmlspecialchars($this->string);
     parent::before_parsing();
 }
コード例 #2
0
ファイル: nwiki.php プロジェクト: vuchannguyen/web
 protected function after_parsing()
 {
     parent::after_parsing();
 }
コード例 #3
0
ファイル: creole.php プロジェクト: evltuma/moodle
 public function get_section($header, $text, $clean = false)
 {
     // The requested header is likely to have been passed to htmlspecialchars in
     // self::before_parsing(), therefore we should decode it when looking for it.
     return parent::get_section(htmlspecialchars_decode($header), $text, $clean);
 }