[Haserl-users] haserl / lua eats my newline?
Brought to you by:
nangel
|
From: Nico de H. <nic...@gm...> - 2022-01-26 15:40:55
|
Hi all, The following haserl (version 0.9.36) / lua code does not create the results that I expected: ~~~~~ code ~~~~~ #!/usr/bin/haserl --shell=lua content-type: text/plain <% foo="bar" %> The value of foo is <%= foo %>. Note that this in the middle of a line What is the value of foo? <%= foo %> Hey, where did my newline go? ~~~~~~~~~~~~~~~ This results in the following output: ~~~~~ output ~~~~~ The value of foo is bar. Note that this in the middle of a line What is the value of foo? barHey, where did my newline go? ~~~~~~~~~~~~~~~ I expected to get three lines of output but I got two. Is this expected behavior? Regards, Nico |