Removing hidden character that cause PHP warning because the character is interpreted as output content