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[] = [];
|
const rendered : string[] = [];
|
||||||
for (const item of this.content) {
|
for (const item of this.content) {
|
||||||
if (typeof item === 'string') {
|
if (typeof item === 'string') {
|
||||||
rendered.push(this.applyStyle(this.wrapHTML(item)));
|
rendered.push(item);
|
||||||
}
|
}
|
||||||
else if (item instanceof GefestElement) {
|
else if (item instanceof GefestElement) {
|
||||||
if (!item.style && this.style) {
|
if (!item.style && this.style) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user