diff options
| author | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-11-15 09:56:15 +0000 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-11-15 09:56:15 +0000 |
| commit | a574a5c1b352b6c016cc132c561bebdbe0996f8d (patch) | |
| tree | 4d1e2d76fa62cbe973852e877084d454267d61bf /lib/visual.inc.php | |
| parent | f1b2dce1a89e2d53492375f5f2847a5c498caa07 (diff) | |
disable and deprecate transformBeforeSave(), fixes #1601
Closes #1601
Merge request studip/studip!1159
Diffstat (limited to 'lib/visual.inc.php')
| -rw-r--r-- | lib/visual.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/visual.inc.php b/lib/visual.inc.php index 1c3cd9e..a4bb96e 100644 --- a/lib/visual.inc.php +++ b/lib/visual.inc.php @@ -173,14 +173,14 @@ function blubberReady($text, $trim=TRUE) { } /** - * Apply StudipTransformFormat rules to marked-up text. + * Obsolete function for compatibility, returns text unchanged. * * @param string $text Marked-up text. - * @return string HTML code computed by applying markup-rules. + * @return string Marked-up text. + * @deprecated since Stud.IP 5.3 */ function transformBeforeSave($text){ - $markup = new StudipTransformFormat(); - return $markup->format($text); + return $text; } //////////////////////////////////////////////////////////////////////////////// |
