mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-69046 core_contentbank: Escape quotes when showing name
This commit is contained in:
parent
b8e1eec4c7
commit
66be08216e
@ -146,17 +146,17 @@ data-region="contentbank">
|
||||
</div>
|
||||
{{#contents}}
|
||||
<div class="cb-listitem"
|
||||
data-file="{{{ title }}}"
|
||||
data-name="{{{ name }}}"
|
||||
data-file="{{ title }}"
|
||||
data-name="{{ name }}"
|
||||
data-bytes="{{ bytes }}"
|
||||
data-timemodified="{{ timemodified }}"
|
||||
data-type="{{{ type }}}"
|
||||
data-author="{{{ author }}}">
|
||||
data-type="{{ type }}"
|
||||
data-author="{{ author }}">
|
||||
<div class="cb-file cb-column position-relative">
|
||||
<div class="cb-thumbnail" role="img" aria-label="{{{ name }}}"
|
||||
<div class="cb-thumbnail" role="img" aria-label="{{ name }}"
|
||||
style="background-image: url('{{{ icon }}}');">
|
||||
</div>
|
||||
<a href="{{{ link }}}" class="cb-link stretched-link" title="{{{ name }}}">
|
||||
<a href="{{{ link }}}" class="cb-link stretched-link" title="{{ name }}">
|
||||
<span class="cb-name word-break-all clamp-2" data-region="cb-content-name">
|
||||
{{{ name }}}
|
||||
</span>
|
||||
|
@ -26,5 +26,5 @@
|
||||
}}
|
||||
<div class="form-check w-100 justify-content-start">
|
||||
<label for="newname">{{#str}}contentname, core_contentbank{{/str}}</label>
|
||||
<input type="text" size="5" id="newname" name="newname" value="{{{ name }}}" class="form-control text-ltr">
|
||||
<input type="text" size="5" id="newname" name="newname" value="{{ name }}" class="form-control text-ltr">
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user