[1mdiff --git a/README.md b/README.md[m
[1mindex f75a31a..be99a6e 100644[m
[1m--- a/README.md[m
[1m+++ b/README.md[m
[36m@@ -19,7 +19,7 @@[m [mCreate the following service file and save it as _~/.config/systemd/user/gmcapsu[m
[Unit][m
Description=GmCapsule: extensible Gemini/Titan server[m
After=network.target[m
[31m-[m
[32m+[m[41m [m
[Service][m
Type=simple[m
ExecStart=<YOUR-INSTALL-PATH>/gmcapsuled[m
[36m@@ -28,7 +28,7 @@[m [mCreate the following service file and save it as _~/.config/systemd/user/gmcapsu[m
StandardOutput=syslog[m
StandardError=syslog[m
SyslogIdentifier=gmcapsule[m
[31m-[m
[32m+[m[41m [m
[Install][m
WantedBy=default.target[m
[m
[36m@@ -47,6 +47,7 @@[m [mThe log can be viewed via journalctl (or syslog):[m
[m
[32m+[m
[cgi] bin_root
configuration option for automatically and dynamically mapping all executables in a directory tree to URL entry points.[m[36m@@ -66,5 +67,10 @@[m [mv0.2.3:[m
[m
[32m+[m[32mv0.2.4:[m
[32m+[m
[32m+[m[32m* Fixed an error in the Markdown parser.[m
[32m+[m
[32m+[m
\ No newline at end of file[m
[1mdiff --git a/gmcapsule/init.py b/gmcapsule/init.py[m
[1mindex e94f658..a0b4a41 100644[m
[1m--- a/gmcapsule/init.py[m
[1m+++ b/gmcapsule/init.py[m
[36m@@ -1,5 +1,5 @@[m
[31m-# License: BSD 2-Clause[m
[32m+[m[32m# License: BSD-2-Clause[m
[m
"""[m
[m
[36m@@ -415,8 +415,8 @@[m [mFuture improvements[m
[m
The following limitations could/should be lifted in the future:[m
[m
[31m-- Enable value interpolation in the configparser
, allowing access to [m
[31m- defined values and environment variables. [m
[32m+[m[32m- Enable value interpolation in the configparser
, allowing access to[m
[32m+[m[32m defined values and environment variables.[m
deinit()
method.[mgitview
should have a URL path prefix.[m[36m@@ -439,7 +439,7 @@[m [mfrom .gemini import Server, Cache[m
from .markdown import to_gemtext as markdown_to_gemtext[m
[m
[m
[31m-version = '0.2.3'[m
[32m+[m[32m__version__ = '0.2.4'[m
all = [[m
'Config', 'Capsule', 'Cache',[m
'get_mime_type', 'markdown_to_gemtext'[m
[1mdiff --git a/gmcapsule/gemini.py b/gmcapsule/gemini.py[m
[1mindex 34ac7f6..9cdd06a 100644[m
[1m--- a/gmcapsule/gemini.py[m
[1m+++ b/gmcapsule/gemini.py[m
[36m@@ -1,5 +1,5 @@[m
[31m-# License: BSD 2-Clause[m
[32m+[m[32m# License: BSD-2-Clause[m
[m
import fnmatch[m
import gc[m
[36m@@ -396,7 +396,7 @@[m [mclass Worker(threading.Thread):[m
except UnicodeDecodeError:[m
report_error(stream, 59, "Request contains malformed UTF-8")[m
return[m
[31m- [m
[32m+[m
if not request or len(data) > MAX_RECV:[m
report_error(stream, 59, "Invalid request")[m
return[m
[36m@@ -555,7 +555,7 @@[m [mclass Server:[m
self.caches.append(cache)[m
self.max_upload_size = max_upload_size[m
self.require_upload_identity = require_upload_identity[m
[31m- [m
[32m+[m
if not os.path.exists(cert_path):[m
raise Exception("certificate file not found: " + str(cert_path))[m
if not os.path.exists(key_path):[m
[1mdiff --git a/gmcapsule/markdown.py b/gmcapsule/markdown.py[m
[1mindex c4401a9..b9a2fb3 100644[m
[1m--- a/gmcapsule/markdown.py[m
[1m+++ b/gmcapsule/markdown.py[m
[36m@@ -1,5 +1,5 @@[m
[31m-# License: BSD 2-Clause[m
[32m+[m[32m# License: BSD-2-Clause[m
[m
import re, string[m
[m
[36m@@ -75,7 +75,7 @@[m [mdef to_gemtext(src):[m
line += "\n"[m
elif line[:1] == '|' and line[-1:] == '|':[m
line += "\n"[m
[31m- elif not result[-1] in string.whitespace:[m
[32m+[m[32m elif len(result) > 0 and not result[-1] in string.whitespace:[m
result += " "[m
is_last_empty = False[m
elif is_block:[m
[1mdiff --git a/gmcapsule/modules/80_gitview.py b/gmcapsule/modules/80_gitview.py[m
[1mindex 8867463..eaf3ae2 100755[m
[1m--- a/gmcapsule/modules/80_gitview.py[m
[1m+++ b/gmcapsule/modules/80_gitview.py[m
[36m@@ -1,5 +1,5 @@[m
[31m-# License: BSD 2-Clause[m
[32m+[m[32m# License: BSD-2-Clause[m
[m
"""Git Repository Viewer"""[m
[m
[1mdiff --git a/gmcapsule/modules/90_cgi.py b/gmcapsule/modules/90_cgi.py[m
[1mindex 11db31c..51d73a2 100644[m
[1m--- a/gmcapsule/modules/90_cgi.py[m
[1m+++ b/gmcapsule/modules/90_cgi.py[m
[36m@@ -1,5 +1,5 @@[m
[31m-# License: BSD 2-Clause[m
[32m+[m[32m# License: BSD-2-Clause[m
[m
"""CGI programs"""[m
[m
[1mdiff --git a/gmcapsule/modules/99_static.py b/gmcapsule/modules/99_static.py[m
[1mindex e4468a2..e30f332 100644[m
[1m--- a/gmcapsule/modules/99_static.py[m
[1m+++ b/gmcapsule/modules/99_static.py[m
[36m@@ -1,5 +1,5 @@[m
[31m-# License: BSD 2-Clause[m
[32m+[m[32m# License: BSD-2-Clause[m
[m
"""Static files"""[m
[m
[1mdiff --git a/gmcapsuled b/gmcapsuled[m
[1mindex 83cb96f..48f1b44 100755[m
[1m--- a/gmcapsuled[m
[1m+++ b/gmcapsuled[m
[36m@@ -2,7 +2,7 @@[m
#[m
[31m-# License: BSD 2-Clause[m
[32m+[m[32m# License: BSD-2-Clause[m
[m
import argparse[m
[m
text/plain
This content has been proxied by September (3851b).