decoded html entities right after import of text into php. -> quite obvious bug i think