xslate/p5-Text-Xslate — Issue #56: nice way to replace new lines by <br />
Author: forwardever
Created: 2012-02-14 17:38:27+00:00
State: open

is there a smart way to replace \n by
?

right now, I just replace the new lines in my model

$notes =~s/\n/
/g;

which results in

Hello
World

because of html escaping