Perhaps having HTML at the beginning is throwing things off...