mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-24 08:28:50 -05:00
Fixes img tag properties
This commit is contained in:
parent
ab62bb9355
commit
fdf6af1d25
@ -30,9 +30,9 @@ module Jekyll
|
||||
@img['title'] = title
|
||||
@img['alt'] = alt
|
||||
else
|
||||
@img['alt'] = @img['title'].gsub!(/"/, '"')
|
||||
@img['alt'] = @img['title'].gsub!(/"/, '"') if @img['title']
|
||||
end
|
||||
@img['class'].gsub!(/"/, '')
|
||||
@img['class'].gsub!(/"/, '') if @img['class']
|
||||
end
|
||||
super
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user