non-strict checking of a strings

This commit is contained in:
FullGreaM 2026-04-27 03:12:57 +03:00
parent 6528100e86
commit 0fe8129f52

View File

@ -218,7 +218,7 @@ export abstract class GefestElement {
const rendered : string[] = [];
for (const item of this.content) {
if (typeof item === 'string') {
rendered.push(this.applyStyle(this.wrapHTML(item)));
rendered.push(item);
}
else if (item instanceof GefestElement) {
if (!item.style && this.style) {