]> source.dussan.org Git - redmine.git/commitdiff
Render all possible inline textile images even if an invalid one exists (#26157).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Jun 2017 07:45:08 +0000 (07:45 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Jun 2017 07:45:08 +0000 (07:45 +0000)
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16668 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/wiki_formatting/textile/redcloth3.rb

index d0bd217d395f2f688d35671c6b06fd28e107f3d0..7ed29bbd8df60f62aee821c97e3b4406b71b8627 100644 (file)
@@ -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