As you may know, this plugin convert all your normal links (inside posts) to nofollow links.
What I want to do is to make some links dofollow, by targeting it over a custom attribute (such as style=”follow”)
You will find this replacement inside source:
$result = preg_replace(‘%<a(\s+.*?href=\S(?!’ . $host . ‘))%i’, ‘<a rel=”nofollow”\\1’, $result);
I don’t want a link to be replaced if it contains style=”folllow” attribute. So I will use this attribute on links those I want to be dofollow.
How should I modify this regexp?