I need to insert a special character in the html file transfer. A symbol is a space, it is necessary that he try to solve another problem.
But it does not work. The code for this character is displayed in the subject line.
To do this, I insert these lines:
pt.yml
subjects: ... release_auto_pause_triggered_html: "%{project_name} %{release_name} - pausa automática disparada"
release_mailer.rb
subject = t('subjects.release_auto_pause_triggered_html', project_name: @project.name, release_name: @release.name).html_safe
But the subject of the sent message is as follows: pausa automática disparada
- "I added only to make this post, but he would not let see here.
I need to look like this: "pausa automática disparada"
Where am I going wrong?
source share