Skip to content

Commit

Permalink
Scanner
Browse files Browse the repository at this point in the history
Fixed little bug in scanner function, now search all links with more
accurate
  • Loading branch information
Leonardo committed Feb 15, 2017
1 parent 7f83e24 commit 5afa398
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@
var open = new RegExp( "<", "gi" ),
close = new RegExp( ">", "gi" );

return text.replace( open, "&lt;" ).replace( close, "&gt;" );
// ( it ) --> Aggiungo uno spazio per evitare che nei link compaiano dei tags

return text.replace( open, " &lt;" ).replace( close, " &gt;" );

};

Expand Down Expand Up @@ -243,7 +245,7 @@
} );

}

$.each( tests, function( i, t ){

var test = new RegExp( t, "gi" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"manifest_version" : 2,
"author" : "Leonardo Ciaccio",
"version" : "6.1.0.1",
"version" : "6.1.0.5",
"name" : "Grab Any Media",
"default_locale" : "en",
"description" : "__MSG_des__",
Expand Down
4 changes: 3 additions & 1 deletion Firefox/Extension/js/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@
var open = new RegExp( "<", "gi" ),
close = new RegExp( ">", "gi" );

return text.replace( open, "&lt;" ).replace( close, "&gt;" );
// ( it ) --> Aggiungo uno spazio per evitare che nei link compaiano dei tags

return text.replace( open, " &lt;" ).replace( close, " &gt;" );

};

Expand Down
2 changes: 1 addition & 1 deletion Firefox/Extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"manifest_version" : 2,
"author" : "Leonardo Ciaccio",
"version" : "6.1.0.1",
"version" : "6.1.0.5",
"name" : "Grab Any Media",
"default_locale" : "en",
"description" : "__MSG_des__",
Expand Down

0 comments on commit 5afa398

Please sign in to comment.