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

HTML block end tags on a line that begins with a space stop parsing of the next line #81

Closed
makyo opened this issue Dec 26, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@makyo
Copy link

makyo commented Dec 26, 2019

What version of goldmark are you using?

1.1.18

What version of Go are you using?

1.13.1

What operating system and processor architecture are you using?

Ubuntu 19.04 arm64

What is happening?

When a line with a closing </pre> begins with space, any immediately following markdown is not formatted.

--- FAIL: TestSpec (0.01s)
    testutil.go:133: ============= case 119 ================
        Markdown:
        -----------
        <pre>
        Some
            </pre>
        
        > okay.
        
        
        Expected:
        ----------
        <pre>
        Some 
        </pre>
        <blockquote>
        <p>okay.</p>
        </blockquote>
        
        
        Actual
        ---------
        <pre>
        Some
            </pre>
        
        > okay.

Did you confirm your output is different from CommonMark online demo or other official renderer correspond with an extension?:

Yes.

2019-12-26-140151_1154x513_scrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants