summaryrefslogtreecommitdiff
path: root/src/bindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings.c')
-rw-r--r--src/bindings.c4
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;