diff --git a/src/leaflet/icon/PlayerIcon.ts b/src/leaflet/icon/PlayerIcon.ts index 9d12aae..d68ec5b 100644 --- a/src/leaflet/icon/PlayerIcon.ts +++ b/src/leaflet/icon/PlayerIcon.ts @@ -66,7 +66,7 @@ export class PlayerIcon extends DivIcon { this._playerName = document.createElement('span'); this._playerName.className = 'player__name'; - this._playerName.innerText = player.name; + this._playerName.innerHTML = player.name; if (this.options.showSkinFace) { let size;