Fix for when `value` is a 2-character string

`(value, attributes) = value` also succeeds when `value` is a
2-character string, not only a 2-item tuple/list.
Merge pull request #2 from deanishe/master

Fix for when `value` is a 2-character string