SVY-7088 only if "<" is opened check for ">"