mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-18 13:20:59 +00:00
Add html.escape on URLs in logger/html.py
This commit is contained in:
parent
eeb5fa48ca
commit
9108afeee5
1 changed files with 2 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ class HtmlLogger(_Logger):
|
|||
"<tr><td>"
|
||||
+ self.part("parenturl")
|
||||
+ '</td><td><a target="top" href="'
|
||||
+ url_data.parent_url
|
||||
+ html.escape(url_data.parent_url)
|
||||
+ '">'
|
||||
+ html.escape(url_data.parent_url)
|
||||
+ "</a>"
|
||||
|
|
@ -231,7 +231,7 @@ class HtmlLogger(_Logger):
|
|||
+ self.part("realurl")
|
||||
+ "</td><td>"
|
||||
+ '<a target="top" href="'
|
||||
+ url_data.url
|
||||
+ html.escape(url_data.url)
|
||||
+ '">'
|
||||
+ html.escape(url_data.url)
|
||||
+ "</a></td></tr>"
|
||||
|
|
|
|||
Loading…
Reference in a new issue