commit - 19aa15d9aafdb8d05b9e198504326acd0b6518c7
commit + db056a134a01d7470214f2cb10890b9919c61df4
blob - c8499e23e63f1af7d0d65e749ba1520193ed9d4b
blob + b554e03ef683b22c56829579570b1e577af3db2e
--- ChangeLog
+++ ChangeLog
+2021-10-26 Omar Polo <op@omarpolo.com>
+
+ * parser_gemtext.c (detect_line_type): correct item line detection: a space is required after the `*' character.
+
2021-10-08 Omar Polo <op@omarpolo.com>
* sandbox.c (landlock_unveil): use landlock on linux if available to restrict what parts of the filesystem telescope can see
blob - 18b733769b1ae829dc232a0a9e2258a91cec3b2b
blob + 9c5b7240f6f131a06cbfd8cac472f04d3d6b95a2
--- parser_gemtext.c
+++ parser_gemtext.c
return LINE_TEXT;
switch (*buf) {
- case '*': return LINE_ITEM;
+ case '*':
+ if (len > 1 && buf[1] == ' ')
+ return LINE_ITEM;
+ break;
case '>': return LINE_QUOTE;
case '=':
if (len >= 1 && buf[1] == '>')