This project is archived and is in readonly mode.

#2735 ✓stale
Marcelo Barbudas

extra whitespace when translating mailers

Reported by Marcelo Barbudas | May 28th, 2009 @ 09:04 PM | in 3.x


I have a very simple setup where I need to translater a mailer view.

In the view I have:
<%= t(:body, :variable => 'something') %>

And in config/locals/lang.yml
body: "Line1\n\n

This renders:
Line2 Line3

(one extra whitespace before Line2 and Line3)

-- M.

Comments and changes to this ticket

  • Jeremy Kemper

    Jeremy Kemper May 4th, 2010 @ 06:48 PM

    • Milestone changed from 2.x to 3.x
  • Rohit Arondekar

    Rohit Arondekar October 9th, 2010 @ 04:07 AM

    • State changed from “new” to “stale”
    • Importance changed from “” to “”

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket