The code can now be saved
Added more exceptions to the html_decode. and discovered a disappering plus sign.