mirror of
https://github.com/umap-project/umap.git
synced 2025-04-30 04:02:38 +02:00
fix(caption): honour carriage returns in datalayer description
fix #2385
This commit is contained in:
parent
0e78d58c03
commit
0bc4900b16
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export default class Caption extends Utils.WithTemplate {
|
|||
<p class="caption-item ${datalayer.cssId}">
|
||||
<span class="datalayer-legend"></span>
|
||||
<strong data-ref="toolbox"></strong>
|
||||
<span data-ref="description"></span>
|
||||
<span class="text" data-ref="description"></span>
|
||||
</p>`
|
||||
const [element, { toolbox, description }] = Utils.loadTemplateWithRefs(template)
|
||||
if (datalayer.options.description) {
|
||||
|
|
Loading…
Reference in a new issue