added forgotten err value
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ parse_file_md_to_html :: proc(filename: string, allocator := context.allocator,
|
|||||||
|
|
||||||
html := cm.render_html(root, CMARK_OPTIONS)
|
html := cm.render_html(root, CMARK_OPTIONS)
|
||||||
defer cm.free(html)
|
defer cm.free(html)
|
||||||
|
parsed, err = strings.clone_from_cstring(html, allocator)
|
||||||
|
|
||||||
parsed = strings.clone_from_cstring(html, allocator)
|
|
||||||
return parsed, nil
|
return parsed, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user