diff options
author | Go MAEDA <maeda@farend.jp> | 2018-10-28 11:04:15 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-10-28 11:04:15 +0000 |
commit | 042dd665277cc1b8e663b5de606c6fee24ddb4e6 (patch) | |
tree | fd612cecde1fd4251ae1ab07e6ff02a58e2ffcd7 /lib | |
parent | 98fc7c8d3963cc12e0e51a2496fb272d703e9d0b (diff) | |
download | redmine-042dd665277cc1b8e663b5de606c6fee24ddb4e6.tar.gz redmine-042dd665277cc1b8e663b5de606c6fee24ddb4e6.zip |
Merged r17603 from trunk to 3.4-stable (#29756).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17604 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/wiki_formatting/textile/redcloth3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb index 2ac134c0a..6d462e935 100644 --- a/lib/redmine/wiki_formatting/textile/redcloth3.rb +++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb @@ -1034,7 +1034,7 @@ class RedCloth3 < String def flush_left( text ) indt = 0 if text =~ /^ / - while text !~ /^ {#{indt}}\S/ + while text !~ /^ {#{indt}}[^ ]/ indt += 1 end unless text.empty? if indt.nonzero? |