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

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

This still uses options.urlEntities if provided.