Commit 7a600911 authored by Valentin Hervieu's avatar Valentin Hervieu

feat(labels): Use html() method to display label values

Thanks to this, we can now pass html-formated content in the translate function

Closes #251
parent 3afcce95
...@@ -617,7 +617,7 @@ ...@@ -617,7 +617,7 @@
label.rzsv = valStr; label.rzsv = valStr;
} }
label.text(valStr); label.html(valStr);
// Update width only when length of the label have changed // Update width only when length of the label have changed
if (getDimension) { if (getDimension) {
......
This diff is collapsed.
...@@ -621,7 +621,7 @@ ...@@ -621,7 +621,7 @@
label.rzsv = valStr; label.rzsv = valStr;
} }
label.text(valStr); label.html(valStr);
// Update width only when length of the label have changed // Update width only when length of the label have changed
if (getDimension) { if (getDimension) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment