diff --git a/libmagnacarto.go b/libmagnacarto.go index b9b9efd..9569840 100644 --- a/libmagnacarto.go +++ b/libmagnacarto.go @@ -132,6 +132,8 @@ func build(mmlStr string, baseDir string, options C.Opts) (output, error *C.char } r.Close() style.Write(content) + } else { + style.WriteString(s) } }