Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #5 #8

Merged
merged 4 commits into from Aug 13, 2021
Merged

Fix #5 #8

merged 4 commits into from Aug 13, 2021

Commits on Aug 13, 2021

  1. Fix panic on empty blockquotes

    While renderer previously assumed there would always be a single
    paragraph inside the blockquote, there sometimes can be either more or
    none.
    
    See #5.
    tdemin committed Aug 13, 2021
    Copy the full SHA
    845bfa7 View commit details
    Browse the repository at this point in the history
  2. Make linter happy

    This removes some of the leftovers of older logic in cmd/gmnhg.
    tdemin committed Aug 13, 2021
    Copy the full SHA
    adcf0ac View commit details
    Browse the repository at this point in the history
  3. Add golangci-lint config

    Somehow the config managed to stay in .gitignore a while, causing
    CI checks to fail.
    tdemin committed Aug 13, 2021
    Copy the full SHA
    35977a7 View commit details
    Browse the repository at this point in the history
  4. Keep line breaks in blockquotes

    This makes the renderer preserve existing line breaks in blockquotes,
    provided they do not split paragraphs. Some clients/sites may use this
    to form semantic around line breaks (for instance, for poems).
    
    See #5.
    tdemin committed Aug 13, 2021
    Copy the full SHA
    36922b6 View commit details
    Browse the repository at this point in the history