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

modified tokenizer to not break on on ]]] at the end of a style #1027

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

nils-a
Copy link
Contributor

@nils-a nils-a commented Oct 23, 2022

@patriksvensson, @phil-scott-78 can't say I like this change, but it gets the job done for the moment.

There are two things I don't like in particular:

  • This is the first time the tokenizer gains knowledge about styles and how they work. Not sure if that's a good thing.
  • Running StringBuilder.ToString() in a loop feels weird. Not sure if it would easier/better/more performant to drop the StringBuilder here and simply concatenate the chars together.

I'd appreciate any input.

@nils-a nils-a linked an issue Oct 25, 2022 that may be closed by this pull request
@nils-a nils-a marked this pull request as ready for review December 1, 2022 17:41
@nils-a nils-a mentioned this pull request Dec 1, 2022
@patriksvensson patriksvensson merged commit f895bb1 into spectreconsole:main Dec 1, 2022
@patriksvensson
Copy link
Contributor

Merged! 👍

@nils-a nils-a deleted the bugfix/GH-1024 branch December 1, 2022 21:36
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.

Markup parsing exception
2 participants