diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /lib/classes/StudipCoreFormat.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/classes/StudipCoreFormat.php')
| -rw-r--r-- | lib/classes/StudipCoreFormat.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/classes/StudipCoreFormat.php b/lib/classes/StudipCoreFormat.php index 24c4ddc..7e3358c 100644 --- a/lib/classes/StudipCoreFormat.php +++ b/lib/classes/StudipCoreFormat.php @@ -605,11 +605,6 @@ class StudipCoreFormat extends TextFormat $title ); - if ($tag === 'audio') { - $random_id = 'audio-' . mb_substr(md5(uniqid('audio', true)), -8); - $media = str_replace('<audio ', '<audio id="' . $random_id . '" onerror="STUDIP.Audio.handle(this);" ', $media); - } - if ($link && $tag === "img") { $media = sprintf('<a href="%s"%s>%s</a>', $link, |
