When generating an HTML document in yattag
, how do you add a line break (<br/>
)?
How do you add a line break in yattag?
2.9k Views Asked by Superbest At
4
When generating an HTML document in yattag
, how do you add a line break (<br/>
)?
You could use
doc.stag('br')
since thestag
method produces a self closing tag. You'll get<br />