This post was very interesting, because using a class for an external link, is very easy and fast also in TinyMCE (you can select "external" style in dropdown window style property).
Changing this attribute, all external links are validated XHTML Strict without manually changing all links in my pages.
Here following SQL statement used for this task:
Code: Select all
UPDATE `cms_content_props` SET `content` = REPLACE(`content`,"target="_blank"","class="external"") where `prop_name` = "content_en"
Hope it helps{literal}
{/literal}
regards
blast