diff options
author | sanine <sanine.not@pm.me> | 2022-01-05 00:30:43 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-01-05 00:30:43 -0600 |
commit | 590601d810b5a810f87aa9b37ed31d8e7e43063d (patch) | |
tree | 267100f1a97192a7b45f229bdf7b8f03354b9957 /src/bindings.c | |
parent | 6d43402c49e6f8c9a2548c628c98fb8431ce7971 (diff) |
fix bug with leading slashes
Diffstat (limited to 'src/bindings.c')
-rw-r--r-- | src/bindings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings.c b/src/bindings.c index 45abf6a..1a73fb0 100644 --- a/src/bindings.c +++ b/src/bindings.c @@ -58,8 +58,8 @@ int markdown(lua_State *L) unsigned int md_flags = MD_FLAG_TABLES | MD_FLAG_STRIKETHROUGH | MD_FLAG_UNDERLINE; struct concat_buffer data; - data.buf = malloc(128 * sizeof(char)); - data.size = 128 * sizeof(char); + data.buf = malloc(2048 * sizeof(char)); + data.size = 2048 * sizeof(char); data.index = 0; data.ok = true; |