Skip to content

Commit f7bc95e

Browse files
authored
Fixed server examples (#1437)
server9.py was modified to use the strong tag at #963, but the others were not.
1 parent f5e5c55 commit f7bc95e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/server10.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def show_comments(session):
9999
out += "<i>by " + html.escape(who) + "</i></p>"
100100

101101
out += "<link rel=stylesheet src=/comment.css>"
102-
out += "<label></label>"
102+
out += "<strong></strong>"
103103
out += "<script src=/comment.js></script>"
104104
out += "<script src=https://example.com/evil.js></script>"
105105
return out

src/server12.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def show_comments(session):
124124
out += "<i>by " + html.escape(who) + "</i></p>"
125125

126126
out += "<link rel=stylesheet src=/comment.css>"
127-
out += "<label></label>"
127+
out += "<strong></strong>"
128128
out += "<script src=/comment.js></script>"
129129
out += "<script src=https://example.com/evil.js></script>"
130130
return out

0 commit comments

Comments
 (0)