Sanitize data-file attribute from page. #2845
This commit is contained in:
parent
3b4bc9db7d
commit
c8068ee9d6
@ -184,7 +184,7 @@ Gallery =
|
||||
if Conf['Sauce'] and Sauce.links and (post = g.posts.get(file.dataset.post))
|
||||
sauces = []
|
||||
for link in Sauce.links
|
||||
if (node = Sauce.createSauceLink link, post, post.files[file.dataset.file])
|
||||
if (node = Sauce.createSauceLink link, post, post.files[+file.dataset.file])
|
||||
sauces.push $.tn(' '), node
|
||||
$.add nodes.sauce, sauces
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user