MDL-63999 calendar: double escape event name on templates
[moodle.git] / calendar / templates / month_detailed.mustache
index 9231fa8..fbf3fde 100644 (file)
@@ -83,7 +83,7 @@
                                     <ul>
                                         {{#events}}
                                         {{#underway}}
-                                            <li class="events-underway">[{{name}}]</li>
+                                            <li class="events-underway">[{{{name}}}]</li>
                                         {{/underway}}
                                         {{^underway}}
                                             <li data-region="event-item"
                                                         &nbsp;
                                                     </span>
                                                     {{> core_calendar/event_icon}}
-                                                    <span class="eventname">{{name}}</span>
+                                                    <span class="eventname">{{{name}}}</span>
                                                 </a>
                                             </li>
                                         {{/underway}}