Don't collect ">" as the attribute value when the cursor is right before that character.
Remove the unnecessary checking of attribute value length.
Merge pull request #3190 from adobe/rlim/attr-value-issue-3136

Don't collect ">" as the attribute value when the cursor is right before that character.