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 issue#645 #883

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

fix issue#645 #883

wants to merge 4 commits into from

Conversation

0d00
Copy link

@0d00 0d00 commented Apr 23, 2022

The problem happens because $W and $Z wii only add the remaining String into the buffer but not into the out. I create a protected function which is similar to the close() in LineWrapper.java but do not close the out. By adding this function after the emit() in CodeBlock.java the issue is solved. It can pass all the tests in the source code as well. I also add a simple testcase in CodeBlockTest.java for this issue.

@0d00 0d00 changed the title fix issue645 fix issue#645 Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant