Added flags to htmlentities to make invalid multibytes sequence to be displayed in source code app