Fix MD5 saucing.

This commit is contained in:
Nicolas Stepien 2012-05-19 06:27:50 +02:00
parent 0b49e3dc2b
commit 267c086c1d
2 changed files with 2 additions and 2 deletions

View File

@ -2699,7 +2699,7 @@
case '$2': case '$2':
return "' + img.href + '"; return "' + img.href + '";
case '$3': case '$3':
return "' + img.firstChild.dataset.md5.replace(/\=*$/, '') + '"; return "' + encodeURIComponent(img.firstChild.dataset.md5) + '";
case '$4': case '$4':
return g.BOARD; return g.BOARD;
} }

View File

@ -2113,7 +2113,7 @@ Sauce =
when '$2' when '$2'
"' + img.href + '" "' + img.href + '"
when '$3' when '$3'
"' + img.firstChild.dataset.md5.replace(/\=*$/, '') + '" "' + encodeURIComponent(img.firstChild.dataset.md5) + '"
when '$4' when '$4'
g.BOARD g.BOARD
href = Function 'img', "return '#{href}'" href = Function 'img', "return '#{href}'"