Skip to content

Commit

Permalink
Change UTF-8 Character to escaped Unicode
Browse files Browse the repository at this point in the history
This change prevents accidental encoding conversion errors of the cancel icon.
  • Loading branch information
beldur committed Feb 9, 2016
1 parent 2de9f61 commit 8ee6c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/shepherd.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ class Step extends Evented {
}

if (this.options.showCancelLink) {
const link = createFromHTML("<a href class='shepherd-cancel-link'></a>");
const link = createFromHTML("<a href class='shepherd-cancel-link'>\u2715</a>");
header.appendChild(link);

this.el.className += ' shepherd-has-cancel-link';
Expand Down

0 comments on commit 8ee6c23

Please sign in to comment.