Skip to content

Commit

Permalink
XWIKI-21894: JSC_PARSE_ERROR in Tour.WebHome (#2914)
Browse files Browse the repository at this point in the history
* Added proper escaping to the icon

(cherry picked from commit fb2cfcf)
  • Loading branch information
Sereza7 authored and surli committed Feb 20, 2024
1 parent 2c747df commit 42b1f67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@

// Add a launch tour link to the actions column.
if (row.find('.actionLaunch').length == 0) {
$('<a class="action actionLaunch">$services.icon.renderHTML("play") $escapetool.javascript($escapetool.xml($services.localization.render("tour.livetable._actions.launch")))</a>')
$('<a class="action actionLaunch">$escapetool.javascript($services.icon.renderHTML("play")) $escapetool.javascript($escapetool.xml($services.localization.render("tour.livetable._actions.launch")))</a>')
.attr('href', targetPageDocument.getURL('view', 'startTour=true'))
.css('padding-left', '1px').appendTo(row.find('.actions'));
}
Expand Down

0 comments on commit 42b1f67

Please sign in to comment.