Adds missing quotes to href attributes

This commit is contained in:
emanuele-f 2017-02-02 15:52:09 +01:00
parent 696137ca0b
commit 05d4956fbd
22 changed files with 91 additions and 91 deletions

View file

@ -120,7 +120,7 @@ for _key, _value in pairsByKeys(vals, funct) do
local k = string.gsub(key, "%.", "___") -- Needed as JQuery does not like . in id= field
print('\"key\" : \"'.. k ..'\",\n')
print(' \"column_http_virtual_host\" : \"<A HREF=http://'..key..'>'..key.."</A> <i class='fa fa-external-link'></i>")
print(' \"column_http_virtual_host\" : \"<A HREF=\'http://'..key..'\'>'..key.."</A> <i class='fa fa-external-link'></i>")
print(" <A HREF='")
url = ntop.getHttpPrefix().."/lua/flows_stats.lua?vhost="..key