added html structure to content to fix encoding, other misc format fixes