CodeIgniter Forums

Full Version: a tags adding url in parentheses - how to remove?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]jmadsen[/eluser]
This seems incredibly simple, and yet I can't find any reference to it anywhere.

When I place anchor tags on my view, such as:

Code:
<?php echo anchor("http://www.mysite.com/", "My site");?>

<a href="http://www.mysite.com/">My Site</a>

it always shows up as:

Quote:"...hello this is My Site (http://www.mysite.com/). Thank you for..."

How do I remove the additional "(http://www.mysite.com/)" part from showing up? This happens with hand coding or using the CI anchor function.

Thanks!

El Forum

[eluser]John_Betong[/eluser]
&nbsp;
Have you loaded the helper? $this->load->helper('url'); ?
&nbsp;
Also view the source code in your browser.
&nbsp;
This is what the HTML source looks like in my browser:
Code:
...hello this is <a href="http://www.mysite.com/">My site</a> Thank you for..
&nbsp;

&nbsp;

El Forum

[eluser]jmadsen[/eluser]
Ah, apologies...

It is from my Blueprint CSS print.css file. I just started using that css framework more, and hadn't stumbled on that feature yet.

Thanks for those that helped.