Preventing js and html snippets when loading a php file had a bug.