I'm using Jade in my latest node.js app. I'd like to have a long block of text in a textarea by default.
If I do something like this:
textarea(id="theTextarea")
it renders just fine:
<textarea id="theTextarea"></textarea>
However, if I do something like so:
textarea(id="theTextarea")
Hello world.
I get this:
<textarea id="theTextarea">
<hello>world</hello>
</textarea>
But I'd like it to be like so:
<textarea id="theTextarea">
hello, world
</textarea>
Any ideas?
textarea(id="theTextarea")
| Hello
| world.
| Hello
| moon.
| Hello
| sun.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With