Skip to content

Commit

Permalink
juledoc: trim spaces of output
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Jan 17, 2025
1 parent b53801a commit 373f264
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gen/markdown/markdown.jule
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

use "doc"
use "std/bytes"
use "std/conv"
use "std/strings"

Expand Down Expand Up @@ -385,5 +386,5 @@ impl gen {
fn Gen(doc: []&doc::Doc): []byte {
mut gen := new(gen)
gen.jmpc = {}
ret gen.gen(doc)
ret bytes::TrimSpace(gen.gen(doc))
}

0 comments on commit 373f264

Please sign in to comment.