reposense / RepoSense

Contribution analysis tool for Git repositories
https://reposense.org
MIT License
251 stars 154 forks source link

blurbs.md: Allow blank lines before repo/branch #2209

Closed damithc closed 3 months ago

damithc commented 6 months ago

Current:

In the blurbs.md, the following works:

https://github.com/org1/repo1/tree/master

some info about repo1

<!--repo-->--------------------------------------------------------
https://github.com/org2/repo2/tree/master

some info about repo2

but the following does not (due to the blank line below the separator):

https://github.com/org1/repo1/tree/master

some info about repo1

<!--repo-->--------------------------------------------------------

https://github.com/org2/repo2/tree/master

some info about repo2

Suggestion: While not very important, we can also allow the 2nd one, simply by doing a trim()/strip() before processing each block of text.

Justification: the 2nd one is easier on the eye, when authoring the blurbs.md.

jedkohjk commented 4 months ago

Hi, I made a pull request for this issue!