summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-17 07:45:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-17 07:45:08 +0000
commitca1fbf1ea10688c0c727b6e9f5271faa26c73bb7 (patch)
tree91a59ece5b547a398284e68781e96e8329a01556 /lib
parent5744bfc2c6490f1e861c7c206fc698c8e5a7a7f1 (diff)
downloadredmine-ca1fbf1ea10688c0c727b6e9f5271faa26c73bb7.tar.gz
redmine-ca1fbf1ea10688c0c727b6e9f5271faa26c73bb7.zip
Render all possible inline textile images even if an invalid one exists (#26157).
Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@16668 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting/textile/redcloth3.rb2
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 d0bd217d3..7ed29bbd8 100644
--- a/lib/redmine/wiki_formatting/textile/redcloth3.rb
+++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb
@@ -969,7 +969,7 @@ class RedCloth3 < String
href, alt_title = check_refs( href ) if href
url, url_title = check_refs( url )
- return m unless uri_with_safe_scheme?(url)
+ next m unless uri_with_safe_scheme?(url)
out = ''
out << "<a#{ shelve( " href=\"#{ href }\"" ) }>" if href