PHPOffice/PHPWord — pull request #270 by bskrtich (2014-06-09 21:23:24+00:00)
Title: addHTML fixes for PHP 5.3

I found 2 bugs with the addHTML function. One when running under PHP 5.3 the default character encoding is ISO-8859-1 (This was changed to UTF-8 in PHP 5.4) which causes loadXML to hork because of it converts things like to non-valid UTF-8 characters. The second is when you try to use an ampersand in the html you are trying to convert to docx.