This project is archived and is in readonly mode.
extra whitespace when translating mailers
Reported by Marcelo Barbudas | May 28th, 2009 @ 09:04 PM | in 3.x
Hi,
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
Line2\n\n
Line3"
This renders:
Line1
Line2 Line3
(one extra whitespace before Line2 and Line3)
-- M.
Comments and changes to this ticket
-
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>