In one site, members can add links to a links page - they supply the url to an external site, the link text and a brief description. The info is held in the fields {f_link_url}, {f_link_text} & {f_link_desc} respectively.
Sometimes users enter the url in the form:
<a href="http://www.goodsite.com">http://www.goodsite.com</a><a href="http://www.goodsite.com">http://www.goodsite.com</a>If I just use the EE code
<a href="http://{f_link_url}" title="{f_link_desc}">{title}</a> {f_link_text}then I have a problem with the first form, as EE generates an internal link to a none existant page, rather than to the true external site :-(
So my question is: Is there a simple way in EE to force to prefix the contents of {f_link_url} with ‘http://’ if needed?
BTW I dont want to use the option in weblog admin to ‘automatically turn urls ..into links’, as this uses the url for the link text, which can look extremely messy when the page is from other CMS’s.