logo

New Response

« Return to the blog entry

You are replying to:

  1. Yep, I thought about the variable right away too, but then saw it was already suggested and forgot about it.

    As do you guys, I always tend to include @NewLines at the end of every logical HTML line for readability issues if nothing else of the resulting HTML.

    In the same manner, when generating HTML from JavaScript I always add an '\n' character at the end of a line in the text variable that represents the HTML to be printed to the page.

    This makes for easier debugging as you can easily find where in the text your html gets screwed up when it's not just one big paragraph of tags.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: