/** * Apply StudipTransformFormat rules to marked-up text. * * @param string $text Marked-up text. * @return string HTML code computed by applying markup-rules. */ function transformBeforeSave($text) { $markup = new StudipTransformFormat(); return $markup->format($text); }