fix: remove leading space and other minor bugs #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Leading and trailing white-spaces in the copied TeX code (usually due to indentation) cause the script to fail. We use
lstripto strip the leading white-spaces. But since trailing white-spaces are more likely to be an error on the user's part, we do not remove that and let the script fail there so that the user realizes that their code has some trailing white-space and can fix it manually.Moreover, we usually want the content inside claim to be right beside the title keyword and the QED to be at the end of the same line where the solution ends. Hence the other changes.