diff --git a/CHANGELOG.md b/CHANGELOG.md index 18419176e..dbb56592e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- fixed endline for markdown format + ## [8.11.6] - 2024-12-15 ### Changed diff --git a/fj-doc-base/src/main/java/org/fugerit/java/doc/base/typehandler/markdown/MarkdownBasicDocFacade.java b/fj-doc-base/src/main/java/org/fugerit/java/doc/base/typehandler/markdown/MarkdownBasicDocFacade.java index 7a4015927..fe10cdd4a 100644 --- a/fj-doc-base/src/main/java/org/fugerit/java/doc/base/typehandler/markdown/MarkdownBasicDocFacade.java +++ b/fj-doc-base/src/main/java/org/fugerit/java/doc/base/typehandler/markdown/MarkdownBasicDocFacade.java @@ -111,7 +111,7 @@ public void handlePara(DocPara docPara, DocContainer parent, DocTypeFacadeHelper // test this.handleText(docPara.getText(), docPara.getStyle() ); if ( body ) { - this.writer.println( " " ); // endline with two white spaces + this.writer.println( " \n" ); // endline with two white spaces } else { this.writer.print( " " ); }