View difference between Paste ID: uyEYrF1Z and JA2yXByZ
SHOW: | | - or go back to the newest paste.
1
Given: anchorA tied to urlA
2
3
posted = False
4
for article in articles {
5
	if article contains anchor_a {
6-
		replace "anchorA" with ("<a href=" + urlA + ">" + anchorA + "</a>")
6+
		replace "anchorA" with ("<a href=" + urlA + "\">" + anchorA + "</a>")
7
		do_the_posting;
8
		posted = True;
9
		break;
10
	}
11
}
12
if posted == False {
13-
	insert_link_in_a_separate_paragraph();
13+
	choose_random_article()
14-
	do_the_posting();
14+
	insert_link_in_a_separate_paragraph;
15
	do_the_posting;
16
}