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

MBS-4091: Avoid breaking lists while trimming annotations #1160

Merged
merged 1 commit into from
Nov 20, 2019

Commits on Nov 20, 2019

  1. MBS-4091: Avoid breaking lists while trimming

    From annotation formatting:
    Lists: tab or 4 spaces and:
    * bullets or 1., a., A., i., I. numbered items (rendered with 1.)
    
    We are trimming all whitespace at the start and end of the
    annotation though (FormHandler's default), meaning if the
    annotation starts with a list the formatting for the first
    element will be broken. This overrides the default trim method with one
    that only trims the ending, to avoid this situation.
    reosarevok committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    f826ac6 View commit details
    Browse the repository at this point in the history