remove leading and trailing white spaces for the editable_control tag (close #794)