• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.