Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
return `
<label>
${conditionalTag(
`
<input>
`,
true,
)}
<div>
${this.handleMissingChildren()}
</div>
</label>
render() {
const height = this.getAttribute('height')
return height
? `
${conditionalTag(`
<table cellspacing="0" cellpadding="0" border="0" role="presentation"><tbody><tr><td style="vertical-align:top;height:${height};" height="${height}">
`)}
${this.renderContent()}
${conditionalTag(`
</td></tr></tbody></table>
`)}
`
: this.renderContent()
}
}
render() {
return `
${conditionalTag(`
`)}
${this.renderContent()}
${conditionalTag(`
`)}
`
}
render() {
const height = this.getAttribute('height')
return `
${conditionalTag(`
<table cellspacing="0" cellpadding="0" border="0" role="presentation"><tbody><tr><td style="vertical-align:top;height:${height};" height="${parseInt(
height,
10,
)}">
`)}
<div>
</div>
${conditionalTag(`
</td></tr></tbody></table>
`)}
`