psibi / tldr-hs

Haskell tldr client
BSD 3-Clause "New" or "Revised" License
92 stars 14 forks source link

In line code and line breaks #11

Closed Yuyan-Li closed 5 years ago

Yuyan-Li commented 6 years ago

I'm not sure if this is an issue here or should be in the main repo. So if this issue doesn't belong here, please point me to the correct place.

There is a problem with "inline" code snippets. Each snippet is put into a single line.

E.g. for grep in

- Use extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`):

Each of ?, +, {}, () and | is put in its own line.

I'm on Ubuntu 18.04.1 with tldr/bionic,now 0.2.3-3 amd64

psibi commented 6 years ago

@Ynzl Thanks for the bug report, I can reproduce this. I will get to this in the coming weekend.

psibi commented 5 years ago

@Ynzl I have release tldr-0.3.1 which fixes the bug. I have also added test cases so that regression doesn't happen in future. Thanks for the bug report.

Yuyan-Li commented 5 years ago

Thank you very much for your work!

Can you estimate how long it will take to make downstream to the ubuntu package? (Or should I better use the github version directly)

psibi commented 5 years ago

Upstream usually takes quite a bit of time to catch up.

The quickest way would be compile this locally now or wait for a couple of days till stackage nightly get's the latest one: https://github.com/commercialhaskell/stackage/pull/3989

Let me know if you need any help in any of the activities.