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

Don't add remaining contents to closed containers (fixes #57) #58

Merged
merged 1 commit into from
Jan 9, 2015

Commits on Jan 9, 2015

  1. Don't add remaining contents to closed containers (fixes #57)

    The submitted test case failed because the parser tried to add an empty line to the already-closed IndentedCode block.
    In the JS reference parser, closing this block type results in it becoming a CodeBlock type, which we don't use, and therefore
    the addLine() logic doesn't run.  We can mirror that behavior by ensuring nothing ever calls addLine() on a closed block.
    colinodell committed Jan 9, 2015
    Configuration menu
    Copy the full SHA
    a310bb5 View commit details
    Browse the repository at this point in the history