Forums » Plugin: External Links » Ignore Links in code and pre tags

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mike Koepke

    (@mike_koepke)

    The Auto Convert code should be excluding pre and code tags. The “external links” processing does process links in code blocks as implemented.

    The link you provided is broken. I’d like to see what the page looks like.

    Thanks

    Thread Starter DevynCJohnson

    (@devyncjohnson)

    The link is not broken. WordPress.org added the ending parenthesis to the URL.

    Once you get to the page, scroll down to the “HTML5 Code” section and view the sample code. The “p” tag that contains an “a” tag should not have an “a” tag. The “External Links” plugin added the “a” tag code because of the URL that is in the sample HTML code.

    Plugin Author Mike Koepke

    (@mike_koepke)

    The next version of the plugin will have an option to exclude links found inside code blocks.

    Thread Starter DevynCJohnson

    (@devyncjohnson)

    Thanks for the fix! This is a great plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ignore Links in code and pre tags’ is closed to new replies.