Fix parsing of HTML in model descriptions.

This commit is contained in:
Sj-Si 2024-05-31 11:43:37 -04:00
parent a3e9b0ce04
commit 19f2c61f4c
7 changed files with 57 additions and 4 deletions

View file

@ -466,6 +466,10 @@ class Clusterize {
} else {
content_elem.innerHTML = data;
}
// Parse items flagged as containing Shadow DOM entries.
convertElementShadowDOM(content_elem, "[data-parse-as-shadow-dom]");
return content_elem.innerHTML;
}