Viewing 5 replies - 1 through 5 (of 5 total)
  • Pi Zi

    (@freelancephp)

    Could you deactivate the WPEL plugin so I could see the original link? (before being processed)

    Thread Starter Rafael Fischmann

    (@rfischmann)

    Done, it’s off now.

    Pi Zi

    (@freelancephp)

    OK I copied and reproduced the error. Thanks.

    Pi Zi

    (@freelancephp)

    The technical explanation of the problem is that it occurs when tags are used within an attribute (like title). I don’t know a good way to solve that problem.

    A workaround in your case, could be adding this code to the functions.php file of your active theme:

    add_action( 'wpel_before_apply_link', function ( $link ) {
        $easy_footnote_url = '#easy-footnote';
    
        // ignore easy footnote links
        if ( false !== strpos( $link->get_attr( 'href' ), $easy_footnote_url ) ) {
            $link->set_ignore();
        }
    }, 10, 1 );
    Thread Starter Rafael Fischmann

    (@rfischmann)

    THANK YOU SO MUCH!

    That did it. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Conflict with Easy Footnotes’ is closed to new replies.