Richard,
There can be many problems that prevent the text to be added at the end of the list.
Quotes can be one such problem.
However, if you are interested in text, why not use a text instead of a list
set htmlfile to top
repeat with each product in array
set bodytext to bodytext & the product as a <table> to appear in the webpage
set bodytext to findandreplace("~~", return, bodytext)
set bodytext to findandreplace("||", quote, bodytext)
set htmlfile to htmlfile & return & bodytext
set end of htmlfile to bottom ---> are you sure this is inside the repeat loop ?
at 10th product exit repeat
end repeat
Deivy Petrescu
email@hidden