commit - 984245ce20826f010570cf6fe030c19a1b566311
commit + f2d2d7a162a2dc8ab5737f477fb0c9aab2673566
blob - 924d67934989339cea0250fdf5099d6d7d67e9f5
blob + e6e22f3cf394a4abff3af9261d718032b2b309ac
--- ChangeLog
+++ ChangeLog
2021-06-23 Omar Polo <op@omarpolo.com>
+ * gemtext.c (search_title): fixed a bug where the *last* level 2 or 3 heading would be used as tab title instead of the first one.
+
* parse.y (add_proxy): add proxy support (e.g. `proxy http via gemini://localhost:1965' for the duckling proxy)
* cmd.c (cmd_previous_button): stay on the line in next-button if there is no next link, and the same for previous-button
blob - 15d892dd929bf4d51291f953413596d105fbf31f
blob + d6d6ce91cf6bab7e58c5dbc5c73809f280ecab26
--- gemtext.c
+++ gemtext.c
if (l->line == NULL)
continue;
strlcpy(p->title, l->line, sizeof(p->title));
+ break;
}
}
}