I resolved the issue by inserting the HTML elements into the database directly rather than using the HTML editor in the BO.
Code:
UPDATE `xc_page_translations`
SET `body` = '[html]'
WHERE `id` = [id of page]
AND `code` = [language code];
It is important to note that I also had to remove all carriage returns and new lines (
\r and
\n) from the HTML before pasting it into my
UPDATE query.