summaryrefslogtreecommitdiffstats
path: root/lib/redcloth3.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-14 20:35:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-14 20:35:36 +0000
commit6f5ffce7993923bf6568b1d756b7a101f7b75028 (patch)
treed74a15adbc132ae19a91567216048ff7f000f0d5 /lib/redcloth3.rb
parent208d2d4090878c34e0132d1be08aa7f1587602d1 (diff)
downloadredmine-6f5ffce7993923bf6568b1d756b7a101f7b75028.tar.gz
redmine-6f5ffce7993923bf6568b1d756b7a101f7b75028.zip
Fixed: line breaks are ignored in quoted text (#6148).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5133 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redcloth3.rb')
-rw-r--r--lib/redcloth3.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb
index 848aa7042..f4c624437 100644
--- a/lib/redcloth3.rb
+++ b/lib/redcloth3.rb
@@ -296,11 +296,11 @@ class RedCloth3 < String
rip_offtags text
no_textile text
escape_html_tags text
+ # need to do this before #hard_break and #blocks
+ block_textile_quotes text unless @lite_mode
hard_break text
unless @lite_mode
refs text
- # need to do this before text is split by #blocks
- block_textile_quotes text
blocks text
end
inline text