I have this repository: https://notabug.org/pharpend/hcal
Gogs's markdown parser is ainserting <br> tags in the middle of ordinary
markdown. These <br>s are inserted where there are ordinary mid-paragraph line
Case in point:
First, you have to
[install Haskell](https://github.com/bitemyapp/learnhaskell#getting-set-up). Due
[long-standing bug in the Haskell package manager](https://github.com/haskell/cabal/issues/220),
some of HCal's dependencies won't get pulled in, so you have to install them
cabal install alex happy gtk2hs-buildtools
I don't have a version of HCal on Hackage yet, so the best way to install it is
to clone the git repo
git clone ssh://firstname.lastname@example.org/pharpend/hcal.git
It's ordinary markdown with line breaks for readability in the editor. It
renders like this:
Which is obviously incorrect.
@i I don't think that's quite relevant here. I don't have trailing whitespace
@pharpend I may have misunderstood, but isn't the problem here that gogs is inserting a <br> tag everytime there is a line break in the markdown source (I too have this problem)? Because if so, https://github.com/gogits/gogs/issues/1009 is supposed to be the open issue for that.
Btw, I didn't say you have trailing whitespace, nor do I see how #1009 does either?
Has this been fixed with the new upgrade?
According to this reply by @Unknwon, this issue has been fixed by adding a new setting called ENABLE_HARD_LINE_BREAK, which on NaB is available here.
This too should be closed as fixed, unless I'm missing something.