SOLVED - it is an escaped haml challenge.  I have changed "=" to "!="
where necessary thanks to a previous post by Nathan!

On Nov 1, 1:55 pm, RandFanatic <[email protected]> wrote:
> Nathan - thx.
>
> the Welcome <a href="/login">Sign In</a> is wrapped in quotes thus the
> href fails to render as nothing more than plain old text without the
> link.
>
> I did dig into the source and have noticed this behavior in a number
> of different places not just the short example I gave.  I have noticed
> it if I view in firefox and inspect source i see &lt; and &gt; instead
> of the"<" or ">".  I will see if I can hunt this down.
>
> On Nov 1, 12:08 pm, Nathan Weizenbaum <[email protected]> wrote:
>
>
>
> > I'm not sure I understand what the exact problem is. The HTML you show seems
> > correct to me. What's the HTML you expect vs. the HTML you're actually
> > getting? (Make sure you use view source rather than an in-browser inspector)
>
> > On Mon, Nov 1, 2010 at 8:32 AM, RandFanatic <[email protected]> wrote:
> > > I am having a challenge with haml views - the haml code is adding a
> > > set of quotes when adding a variable to a line.
> > > ex. from the html.haml view...
> > > =:welcome_message.l(:login_link => (link_to :log_in.l, login_path))
> > > where :welcome_message.l is from a .yml file and is welcome_message:
> > > "Welcome {{:login_link}}"
> > > and :log_in.l is from a .yml file and is log_in: "Sign In"
>
> > > results in
>
> > > Welcome <a href="/login">Sign In</a>
>
> > > When I inspect the element a stray/phantom set of quotes surrounds the
> > > line and thus has turned the code to text and doesn't allow html to
> > > render.  I understand this is what is going on but can not figure out
> > > how to fix it.  Any known gem conflicts?
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Haml" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected] <haml%[email protected]>.
> > > For more options, visit this group at
> > >http://groups.google.com/group/haml?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to