Skip to content

Commit

Permalink
Merge pull request #2274 from DamnClin/documentation-line-break
Browse files Browse the repository at this point in the history
Fix documentation links line break
  • Loading branch information
pascalgrimaud authored Jun 28, 2022
2 parents eaf467f + 7fec7e8 commit f33c0b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public JHipsterModuleBuilder documentation(DocumentationTitle title, JHipsterSou
String target = "documentation/" + title.filename() + source.extension();
files().add(source, to(target));

String markdownLink = "- [" + title.get() + "](" + target + ") \n\n" + JHIPSTER_DOCUMENTATION_NEEDLE;
String markdownLink = "- [" + title.get() + "](" + target + ") \n" + JHIPSTER_DOCUMENTATION_NEEDLE;
optionalReplacements().in("README.md").add(text(JHIPSTER_DOCUMENTATION_NEEDLE), markdownLink);

return this;
Expand Down

0 comments on commit f33c0b8

Please sign in to comment.