mirror of
https://github.com/hahwul/WebHackersWeapons.git
synced 2024-12-18 12:14:22 -05:00
Fixed bug
This commit is contained in:
parent
d19a201a32
commit
973db35ef1
@ -164,8 +164,8 @@ weapons.each do | data |
|
|||||||
lang_badge = ""
|
lang_badge = ""
|
||||||
begin
|
begin
|
||||||
if data['lang'].length > 0 && data['lang'] != "null"
|
if data['lang'].length > 0 && data['lang'] != "null"
|
||||||
langs.push "[`#{data['lang']}`](/categorize/langs/#{data['lang']}.md)"
|
langs.push "[`#{data['lang']}`](/categorize/langs/#{data['lang'].gsub('#','%23')}.md)"
|
||||||
lang_badge = "[![#{data['lang']}](/images/#{data['lang'].downcase.sub('#','%23')}.png)](/categorize/langs/#{data['lang']}.md)"
|
lang_badge = "[![#{data['lang']}](/images/#{data['lang'].downcase.gsub('#','%23')}.png)](/categorize/langs/#{data['lang'].gsub('#','%23')}.md)"
|
||||||
end
|
end
|
||||||
rescue
|
rescue
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user