On Mon, Mar 25, 2013 at 2:58 PM, Y S wrote:
> How should we approach the problem is the tab character is to be included in
> the string. For example,
>
> <% c = '\t' %>
>
> just shows the tab as a space.
The tab char (\t) is not converted by html_escapes() as far as I know;
if you want to make i
Thank you! I just had a couple of questions:
How should we approach the problem is the tab character is to be included
in the string. For example,
<% c = '\t' %>
just shows the tab as a space.
Also, shouldn't Rails helper tags use single quotes since they work in both
cases:
<% c1 = "'" %>
On Thu, Mar 21, 2013 at 4:27 PM, Y S wrote:
> Say I have a hidden field inside a form which tells me which quote character
> some file uses. The details are irrelevant, but I need to have a string
> value that could have a double quote. Assume we have a variable
>
> @quote_char = '"'
>
> Now, in t
Say I have a hidden field inside a form which tells me which quote
character some file uses. The details are irrelevant, but I need to have a
string value that could have a double quote. Assume we have a variable
@quote_char = '"'
Now, in the view, I try all of these
>
>
4 matches
Mail list logo