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 escape characters for content with newline #112

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Commits on Feb 5, 2024

  1. Fix escape characters for content with newline

    Given an input like so:
    
    ```markdown
    'foo'
    'bar'
    ```
    
    We should be escaping both opening `'`.
    Before this change only the first was escaped because we only look at
    the first character of a `[]byte` and did not account for newlines.
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    cpuguy83 committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    f0c6142 View commit details
    Browse the repository at this point in the history