twitter/twitter-text-js — pull request #54 by keitaf (2012-03-30 17:37:04+00:00)
Title: Modify linkToUrl() to use display_url and expanded_url in the input entity.

This modifies linkToUrl() to use display_url and expanded_url if they are available in the input entity.

This still uses options.urlEntities if provided.