Skip to content

Remove leading & trailing whitespaces, rework comma insertion between tags#97

Merged
jbub merged 1 commit into
jbub:masterfrom
romainx:imp_post_footer
Oct 22, 2020
Merged

Remove leading & trailing whitespaces, rework comma insertion between tags#97
jbub merged 1 commit into
jbub:masterfrom
romainx:imp_post_footer

Conversation

@romainx

@romainx romainx commented Oct 18, 2020

Copy link
Copy Markdown

Hello,

Just a small, and pretty useless, improvement to the post footer to

  • remove leading & trailing whitespaces (that can become numerous if shares are not activated) thanks to ability to trim them in Go templates,
  • rework the way tags are separated by commas, credits SO.

Best

@jbub

jbub commented Oct 22, 2020

Copy link
Copy Markdown
Owner

Thanks for your contribution, nice one!

@jbub jbub merged commit 2ba087e into jbub:master Oct 22, 2020
@romainx

romainx commented Oct 22, 2020

Copy link
Copy Markdown
Author

Thanks for your feedback, I appreciate 😄. I will continue if I catch other minor improvements.

@romainx romainx deleted the imp_post_footer branch October 22, 2020 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants