Avoid parse-breaking PHP in img tags