I am bringing in content on a page.
It is few lines of javascript so site owner can easily add new lines and save.
Problem, is that the code is displayed as one long line. It does not keep the manual breaks in the page.
example:
//Contents for News
var News=new Array()
News[0]='<a href="content.cfm?pg=issue">Latest Issue</a>'
News[1]='<a href="content.cfm?pg=contest">Contest</a>'
It's important to keep the brakes at the end of the line.
It is few lines of javascript so site owner can easily add new lines and save.
Problem, is that the code is displayed as one long line. It does not keep the manual breaks in the page.
example:
//Contents for News
var News=new Array()
News[0]='<a href="content.cfm?pg=issue">Latest Issue</a>'
News[1]='<a href="content.cfm?pg=contest">Contest</a>'
It's important to keep the brakes at the end of the line.
RE: Maintain Breaks
Regular textarea is fine for this, but some people may still need more editing abilities and keep formatting.