Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 42... Línea 42...
42
 * Function used to handle mtrace by outputting the text to normal browser window.
42
 * Function used to handle mtrace by outputting the text to normal browser window.
43
 *
43
 *
44
 * @param string $message Message to output
44
 * @param string $message Message to output
45
 * @param string $eol End of line character
45
 * @param string $eol End of line character
46
 */
46
 */
47
function tool_task_mtrace_wrapper(string $message, string $eol): void {
47
function tool_task_mtrace_wrapper(string $message, string $eol = ''): void {
48
    $message = s($message);
48
    $message = s($message);
Línea 49... Línea 49...
49
 
49
 
50
    // We autolink urls and emails here but can't use format_text as it does
50
    // We autolink urls and emails here but can't use format_text as it does
51
    // more than we need and has side effects which are not useful in this context.
51
    // more than we need and has side effects which are not useful in this context.