lib/clapton/javascripts/src/components/quote.ts in clapton-0.0.17 vs lib/clapton/javascripts/src/components/quote.ts in clapton-0.0.18
- old
+ new
@@ -7,11 +7,11 @@
constructor(attributes: Record<string, any> = {}) {
this.children = [];
this.attributes = attributes;
}
- get render(): string {
- return `<q ${htmlAttributes(this.attributes)}>${this.children.map(child => child.render).join("")}</q>`;
+ get renderWrapper(): string {
+ return `<q ${htmlAttributes(this.attributes)}>${this.children.map(child => child.renderWrapper).join("")}</q>`;
}
add(child: any): Quote {
this.children.push(child);
return this;