diff --git a/dist/button-card.js b/dist/button-card.js
index b6e2f32..f2bd2ba 100644
--- a/dist/button-card.js
+++ b/dist/button-card.js
@@ -1673,7 +1673,7 @@ window.navigator.userAgent.match("Trident") && (DOMTokenList.prototype.toggle =
p = this._buildStyleGeneric(e, "grid");return a || o.push("no-icon"), r || o.push("no-name"), s || o.push("no-state"), l || u || o.push("no-label"), R`
${a || ""}
- ${r ? R`
${r}
` : ""}
+ ${r ? R`
${dt(r)}
` : ""}
${s ? R`
${s}
` : ""}
${l && !u ? R`
${dt(l)}
` : ""}
${u || ""}
diff --git a/info.md b/info.md
new file mode 100644
index 0000000..ef7edef
--- /dev/null
+++ b/info.md
@@ -0,0 +1,30 @@
+## Features:
+
+- works with any entity
+- 6 available actions on **tap** and/or **hold** and/or **double click**: `none`, `toggle`, `more-info`, `navigate`, `url` and `call-service`
+- support for action repeat while holding the button down
+- state and label display (optional)
+- custom color (optional), or based on light rgb value/temperature
+- custom state definition with customizable color, icon and style (optional)
+- [custom size of the icon, width and height](#Play-with-width-height-and-icon-size) (optional)
+- [aspect ratio support](#aspect-ratio) (optional)
+- Support for [templates](#templates) in some fields
+- custom icon (optional)
+- custom css style (optional)
+- multiple [layout](#Layout) support and [custom layout](#advanced-styling-options) support
+- units for sensors can be redefined or hidden
+- 2 color types
+ - `icon` : apply color settings to the icon only
+ - `card` : apply color settings to the card only
+- automatic font color if color_type is set to `card`
+- blank card and label card (for organization)
+- [blink](#blink) animation support
+- rotating animation support
+- confirmation popup for sensitive items (optional) or [locking mecanism](#lock)
+- haptic support for the [Beta IOS App](http://home-assistant.io/ios/beta)
+- support for [custom_updater](https://github.com/custom-components/custom_updater) and [hacs](https://github.com/custom-components/hacs)
+
+### Example:
+
+
+### See the
Readme for installation and configuration.
diff --git a/package-lock.json b/package-lock.json
index 93e37b3..bb532dc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "button-card",
- "version": "1.11.0",
+ "version": "1.11.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 54e9d36..405d5bd 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "button-card",
- "version": "1.11.0",
+ "version": "1.11.1",
"description": "Button card for lovelace",
"main": "dist/button-card.js",
"pre-commit": [
diff --git a/src/button-card.ts b/src/button-card.ts
index 5fa20a2..fbc9453 100644
--- a/src/button-card.ts
+++ b/src/button-card.ts
@@ -642,7 +642,7 @@ class ButtonCard extends LitElement {
return html`
${iconTemplate ? iconTemplate : ''}
- ${name ? html`
${name}
` : ''}
+ ${name ? html`
${unsafeHTML(name)}
` : ''}
${stateString ? html`
${stateString}
` : ''}
${label && !lastChangedTemplate ? html`
${unsafeHTML(label)}
` : ''}
${lastChangedTemplate ? lastChangedTemplate : ''}