diff --git a/scripts/lantern.py b/scripts/lantern.py index 0bf45ac..633ef3c 100644 --- a/scripts/lantern.py +++ b/scripts/lantern.py @@ -1225,6 +1225,8 @@ Maintenance: blacklisted_words = [word for word in blacklist_df['blacklisted-words']] for i, row in submission_df.iterrows(): link = row['link'] + #remove the bad amp; crap that breaks things + link = link.replace("&","&") print('\n',row[['name','desc','category','sensitive']]) print('\nLink to verify: ',link) print_colors("\n1) Move entry to verified.csv \n2) Move entry from submission.csv to unverified.csv \n3) Delete from submission.csv file \n4) Add to blacklist.csv \n-1) exit") @@ -1294,6 +1296,7 @@ Maintenance: finally: print_colors("No more submissions to review, exiting.") + break case 12: @@ -1417,6 +1420,7 @@ Maintenance: finally: print_colors("No more crawled websites to review, exiting.") + break break case 0: diff --git a/www/submit.php b/www/submit.php index edfd9ff..15ed5bf 100644 --- a/www/submit.php +++ b/www/submit.php @@ -78,7 +78,7 @@ if (isset($_POST['submit'])){
- +