1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2017-06-17 07:45:08 +00:00
parent 5744bfc2c6
commit ca1fbf1ea1

View File

@ -969,7 +969,7 @@ class RedCloth3 < String
href, alt_title = check_refs( href ) if href href, alt_title = check_refs( href ) if href
url, url_title = check_refs( url ) url, url_title = check_refs( url )
return m unless uri_with_safe_scheme?(url) next m unless uri_with_safe_scheme?(url)
out = '' out = ''
out << "<a#{ shelve( " href=\"#{ href }\"" ) }>" if href out << "<a#{ shelve( " href=\"#{ href }\"" ) }>" if href