WordPress.org

Forums

Twitter Widget Pro
[resolved] Period included in links (5 posts)

  1. Tom Lany
    Member
    Posted 2 years ago #

    I use Twitter Widget Pro to include tweets on my website. I noticed that when a tweet includes a URL that is followed by a period, the period is included in the link. This causes the link to not work. Is there a chance the regex that controls the links could be updated so that periods are not included with links?

    Thanks for your hard work on this plugin!

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  2. Aaron D. Campbell
    Member
    Plugin Author

    Posted 2 years ago #

    I'll look at the regex. Technically a URL *can* end it a period (according to the spec) as well as a paren and a few other characters that commonly follow a URL someone types and aren't meant to be part of it. The problem is deciding when to ignore these valid characters and when not to.

  3. Aaron D. Campbell
    Member
    Plugin Author

    Posted 2 years ago #

    The new version will have this functionality. It's currently in trunk (download trunk) and once tested thoroughly I'll release it.

  4. Tom Lany
    Member
    Posted 2 years ago #

    I downloaded revision 600218 from trunk, and periods following links are now displayed correctly. Thank you so much!

  5. Tom Lany
    Member
    Posted 2 years ago #

    I recently noticed that the following character ” is included in links when it is supposed to immediately follow a links. This is the character that Twitter appends when the quote tweet function is used. Would it be possible to look at the regex for this character? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twitter Widget Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic