Mike, The code sample you're using attaches a "\n" after each row. The HTML it generates doesn't include line breaks, but just an ASCII newline character, which isn't the same when rendered as HTML.
Replace each occurrence of "\n" with "<br/>" and you should be good. -Vic On Mon, Apr 4, 2011 at 11:04 AM, Mike <[email protected]> wrote: > Hi, > > I tried the spreadsheet gadget on the following page: > http://code.google.com/apis/spreadsheets/gadgets/ > > And here's the sample spreadsheet I used as the database: > > https://spreadsheets.google.com/ccc?hl=en&key=tZlMUSdx-fqyNmQoWvuOB7A&hl=en#gid=0 > > But the problem is the gadget doesn't display the break lines and puts > all the lines one after the other. > I wonder what I need to change in the gadget code. > > Any help is greatly appreciated! > Coding beginner, Mike >
