mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Fixes img tag properties
This commit is contained in:
@ -30,9 +30,9 @@ module Jekyll
|
|||||||
@img['title'] = title
|
@img['title'] = title
|
||||||
@img['alt'] = alt
|
@img['alt'] = alt
|
||||||
else
|
else
|
||||||
@img['alt'] = @img['title'].gsub!(/"/, '"')
|
@img['alt'] = @img['title'].gsub!(/"/, '"') if @img['title']
|
||||||
end
|
end
|
||||||
@img['class'].gsub!(/"/, '')
|
@img['class'].gsub!(/"/, '') if @img['class']
|
||||||
end
|
end
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user