-
Marble Wu authored
https://github.com/ruby-china/homeland/blob/f402be00446cd1a269baf8feb74e7ec0be24a65d/app/controllers/replies_controller.rb#L18 ``` @msg = @reply.errors.full_messages.join("<br />") ``` view 内用 ``` j ``` 后 ``` <br/> 会被替换为 ``` <br/> ``` 原样显示在页面上。
Marble Wu authoredhttps://github.com/ruby-china/homeland/blob/f402be00446cd1a269baf8feb74e7ec0be24a65d/app/controllers/replies_controller.rb#L18 ``` @msg = @reply.errors.full_messages.join("<br />") ``` view 内用 ``` j ``` 后 ``` <br/> 会被替换为 ``` <br/> ``` 原样显示在页面上。
Loading