process new line symbol in WordBoxWidget