`&apos;` is the human-readable name for the character. Why should this single character get the obscure `&#39;` when everything else gets named? If `entity.go` is producing `&#39;` then I'd say it's wrong. And length certainly doesn't matter; if it did, we'd be using `&#34;` instead of `&quot;` and nobody ever does that.