• The following anchor tags get output incorrectly when using the sub-directory option.

    <a href="#anchor-link">Test</a> results in <a href="/">Test</a>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kgblocalize

    (@kgblocalize)

    Sorry that you are having this problem. I will relay this issue to our development team.

    Thread Starter Raju Mandapati

    (@mvpspl619)

    Here’s the fix: you just need to update the regex you’re using to detect links from this: "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>" to this: "<a\s[^>]*href=(\"??)([^#\"][^\" >]*?)\1[^>]*>(.*)<\/a>"

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL parsing returns / for urls with just fragments’ is closed to new replies.