I would strongly prefer using html_escape then :)


On Wed, Sep 25, 2013 at 11:08 AM, allareri <notifications@github.com> wrote:

> In app/views/users/edit.html.erb:
>
> > @@ -1,3 +1,24 @@
> > +<button id="show-calendar" class="link">My Calendar</button>
> > +<div id="calendar">
> > +  <%= link_to "<", :month => (@date.beginning_of_month-1).strftime("%Y-%m-01") %>
> > +  <%= h @date.strftime("%B %Y") %>
>
> h is an alias method for html_escape. Documentation<http://www.ruby-doc.org/stdlib-2.0.0/libdoc/erb/rdoc/ERB/Util.html#M000624>
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Devbootcamp/mentor-pairing/pull/40/files#r6580413>
> .
>