@elextr commented on this pull request.
@@ -194,14 +194,15 @@ replace_all(MarkdownViewer *self,
{ gchar *ptr; gsize needle_len = strlen(needle); + gsize replacement_len_minus_one = strlen(replacement) - 1;
Ahh, the obligatory C programming off by one bug :smile: