non-strict checking of a strings
This commit is contained in:
parent
6528100e86
commit
0fe8129f52
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user