Explorar el Código

Replace not valid tag </br> to <br /> when parsing message see BT#13556

jmontoyaa hace 7 años
padre
commit
351d10c929
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      main/inc/lib/message.lib.php

+ 1 - 0
main/inc/lib/message.lib.php

@@ -1140,6 +1140,7 @@ class MessageManager
             $source
         );
 
+        $row['content'] = str_replace('</br>', '<br />', $row['content']);
         $title = Security::remove_XSS($row['title'], STUDENT, true);
         $content = Security::remove_XSS($row['content'], STUDENT, true);