Welcome Guest, Not a member yet? Register   Sign In
a tags adding url in parentheses - how to remove?
#1

[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!
#2

[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;
#3

[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.




Theme © iAndrew 2016 - Forum software by © MyBB