Commits


heuristic to obtain the page title if not h1 found


include style


typo


refactor parsers: add parser_foreach_line to rule 'em all


in pre lines, add the alt text as line text


retire telescope_strnchr in favor of memmem


fix various warnings, no functional changes now that we have a bounch of -Wxxx flags during compilation, let's fix everything.


show page title in tabs


reuse append and set_buf across our parsers


give each parser a name


[gemtext] improve parse_link * add a mising `&& isspace(buf[0])' that would make the parser skip the link label * swap alt and line: line is the text, alt the URL * text is always defined, at worst is a copy of URL


[gemtext] fix append and set_buf it wouldn't resume parsing well without these


update the length in set_buf this caused a bug with long lines


flush the buffer when freeing the parser


initial commit