diff --git a/neomi.py b/neomi.py index c79eb51..c0b5d2c 100644 --- a/neomi.py +++ b/neomi.py @@ -28,7 +28,7 @@ default_config.no_itemtype_whitelist = {'robots.txt', 'favicon.ico'} default_config.hurl_redirect_page = """ - + Redirecting to __escaped_url__ @@ -622,7 +622,7 @@ def send_gophermap(sock, reader, protocol, *, config): if itemtype == b'i': # Text - sock.sendall(html_encode(name) + b'
\n') + sock.sendall(html_encode(name) + b'
\n') else: # Link @@ -635,7 +635,7 @@ def send_gophermap(sock, reader, protocol, *, config): else: url = b'http://' + server + b':' + port + b'/' + itemtype + urllib.parse.quote_from_bytes(path).encode('utf-8') - sock.sendall(b'' + html_encode(name) + b'
\n') + sock.sendall(b'' + html_encode(name) + b'
\n') # Send footer of the HTML file sock.sendall(b'

')