md_text_with_null_replacement: Fix endless loop on a NULL character.
diff --git a/md4c/md4c.c b/md4c/md4c.c
index bbc6cfb..fdd4b52 100644
--- a/md4c/md4c.c
+++ b/md4c/md4c.c
@@ -327,6 +327,7 @@ md_text_with_null_replacement(MD_CTX* ctx, MD_TEXTTYPE type, const CHAR* str, SZ
ret = ctx->r.text(MD_TEXT_NULLCHAR, _T(""), 1, ctx->userdata);
if(ret != 0)
return ret;
+ off++;
}
}