coffeecup icon indicating copy to clipboard operation
coffeecup copied to clipboard

Text is not escaped

Open nilskp opened this issue 13 years ago • 3 comments

Using coffeekup the following is outputted in escaped format:

h1 "<foo>" # Correctly outputs as <h1>&lt;foo&gt;</h1>

not so with coffeecup.

nilskp avatar Jun 30 '12 21:06 nilskp

thanks for reporting this.

gradus avatar Jun 30 '12 22:06 gradus

I'm actually not sure if it's supposed to escape by default. But neither the h helper nor autoescape option seems to work.

nilskp avatar Jul 06 '12 17:07 nilskp

h1 h("<foo>") outputs <h1>&lt;foo&gt;</h1>

gradus avatar Apr 16 '13 15:04 gradus