diff --git a/morty.go b/morty.go
index c0aba4a..945e0ec 100644
--- a/morty.go
+++ b/morty.go
@@ -191,16 +191,23 @@ var HTML_FORM_EXTENSION string = `
`
@@ -636,7 +643,7 @@ func sanitizeHTML(rc *RequestConfig, out io.Writer, htmlDoc []byte) {
writeEndTag := true
switch string(tag) {
case "body":
- fmt.Fprintf(out, HTML_BODY_EXTENSION, rc.BaseURL.String())
+ fmt.Fprintf(out, HTML_BODY_EXTENSION, rc.BaseURL.String(), rc.BaseURL.String())
case "style":
state = STATE_DEFAULT
case "noscript":