Repair placeholder replacement in non-HTML settings
This commit is contained in:
parent
ff75fc7107
commit
fb83b0e524
|
@ -62,7 +62,7 @@ export class HtmlFragments implements FlattenInto {
|
|||
} else {
|
||||
n.innerHTML = source;
|
||||
}
|
||||
for (const p of Array.from(n.querySelectorAll('placeholder'))) {
|
||||
for (const p of Array.from(n.content.querySelectorAll('placeholder'))) {
|
||||
const e = nodeMap[p.id];
|
||||
if (e) {
|
||||
p.parentNode!.insertBefore(e, p);
|
||||
|
|
Loading…
Reference in New Issue