We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b046a61 commit 2f81e8cCopy full SHA for 2f81e8c
bundle/Resources/public/admin/js/multientry.js
@@ -168,9 +168,9 @@ class MultiEntry {
168
169
static create_element_from_string(elementString) {
170
const template = document.createElement('template');
171
- template.innerHTML = elementString;
+ template.innerHTML = elementString.trim();
172
173
- return template.content.firstElementChild;
+ return template.content.firstChild;
174
}
175
176
0 commit comments