|
|
|
@ -19,7 +19,7 @@ class MemosController < ApplicationController
|
|
|
|
|
|
|
|
|
|
@content = "#{ll(Setting.default_language, :text_user_wrote, @memo.author)} <br/> "
|
|
|
|
|
@content << @memo.content.to_s.strip.gsub(%r{<pre>((.|\s)*?)</pre>}m, '[...]').gsub(/(\r?\n|\r\n?)/, "\n") + "</blockquote>\n\n<br/>"
|
|
|
|
|
@content = "<blockquote>" << @content
|
|
|
|
|
@content = "<blockquote style='word-break: break-all;word-wrap: break-word;'>" << @content
|
|
|
|
|
#@content = "> #{ll(Setting.default_language, :text_user_wrote, @memo.author)}\n> "
|
|
|
|
|
#@content << @memo.content.to_s.strip.gsub(%r{<pre>((.|\s)*?)</pre>}m, '[...]').gsub(/(\r?\n|\r\n?)/, "\n> ") + "\n\n"
|
|
|
|
|
#@content_html = textilizable(@content)
|
|
|
|
|