From ba4c7604d0f8e01a4f86f9f7568dd4d0bea50286 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Mon, 14 Dec 2020 00:28:09 +0000 Subject: [PATCH] Fix player marker html usage --- src/leaflet/icon/PlayerIcon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;