Re: Hyperlinks not rendering properly

Marnen Laibow-Koser
2010-12-27T23:55:20Z

dubstep wrote in post #970978:
> I am trying to put a hyperlink in my view and it is not being rendered
> properly.
>
> In my view, I have:
>
> <%= link_to ''Search'', ''google.com''
%>
>
> the HTML source when rendered is:
> Search

That''s proper HTML.  Your app is doing the right thing.  (Although you
probably want http:// in there.)

>
> However, on the browser, it displays:
>
> Search(google.com)
>
> If I try and use a standard ''a href='', it does the same
thing.
>
> Has anyone experienced this before?

Since the HTML is correct, this sounds like a browser display setting.
What browser?  Any weird plugins or strange CSS or JavaScript?

Try a different browser and see what happens.
>
> Thanks.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org

Sent from my iPhone

--
Posted via http://www.ruby-forum.com/.