fix error
This commit is contained in:
parent
438f7ce792
commit
da75073ecc
|
@ -5,7 +5,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<p>
|
||||
<%= @data['reply'].gsub(/[(\n)(\r)]/, "\n" => "<br/>", "\r" => "" ).html_safe %>
|
||||
<%= @data['reply'].to_s.gsub(/[(\n)(\r)]/, "\n" => "<br/>", "\r" => "" ).html_safe %>
|
||||
</p>
|
||||
<br />
|
||||
<p>此為系統自動發信,請勿直接回覆</p>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</tr> -->
|
||||
<tr>
|
||||
<th><%= AskQuestion.human_attribute_name(:name) %>:</th>
|
||||
<td><%= @data['name'].gsub(/[(\n)(\r)]/, "\n" => "<br/>", "\r" => "" ).html_safe %></td>
|
||||
<td><%= @data['name'].to_s.gsub(/[(\n)(\r)]/, "\n" => "<br/>", "\r" => "" ).html_safe %></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>此為系統自動發信,請勿直接回覆</p>
|
||||
|
|
Loading…
Reference in New Issue