DNN-4899 core input filters ran against empty input
added code to short circuit for empty text or for a single space (covers container title odd behaviour)