Dustin Frazier wrote: ... > I had everything working great in my previous Windows environment, but > with the fresh setup, I have a strange, maddening issue that I've > searched and experimented with, but I can't seem to sort out. In my > new TT2 environment, when I generate an HTML page from a template > (using a main wrapper and one or two other templates), my resulting > HTML file has an extra *two* carriage returns (control-M) at the end > of each line. Not a show-stopper, but it does make the files larger,
I'm not sure, but when I upgraded to TT 2.20 (also under windows), I had to add "--binmode=1" to my ttree arguments to get rid of the extra ^M. I have no idea why you end up with two of them. To make it more clear, I have a "build_html.bat" script, which contains ttree --binmode=1 --eval_perl --file=".\ttree_html.cfg" _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
