mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-82558 h5p: escape template error/exception content.
This commit is contained in:
parent
687f735387
commit
c7d9026715
@ -43,17 +43,17 @@
|
||||
<div class="container mt-5">
|
||||
{{#exception}}
|
||||
<div class="alert alert-block fade in alert-danger my-2" role="alert">
|
||||
{{{ exception }}}
|
||||
{{ . }}
|
||||
</div>
|
||||
{{/exception}}
|
||||
{{#info}}
|
||||
<div class="alert alert-block fade in alert-info my-2" role="alert">
|
||||
{{{ . }}}
|
||||
{{ . }}
|
||||
</div>
|
||||
{{/info}}
|
||||
{{#error}}
|
||||
<div class="alert alert-block fade in alert-warning my-2" role="alert">
|
||||
{{#code}}{{{code}}} : {{/code}}{{{ message }}}
|
||||
{{#code}} {{ . }} : {{/code}} {{ message }}
|
||||
</div>
|
||||
{{/error}}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user