-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update Parlot to 1.0 #34
Conversation
@sebastienros please approve this workflow to run. Also this line is throwing an exception
Maybe using |
@@ -128,17 +128,17 @@ private Shortcode ParseShortcode() | |||
{ | |||
arguments ??= CreateArgumentsDictionary(); | |||
|
|||
arguments[argumentIndex.ToString()] = Character.DecodeString(new TextSpan(_scanner.Buffer, _result.Start + 1, _result.Length - 2)).ToString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably wrong. Start is the beginning of the result, and Offset is the current position. So Offset should be stored as a local Start before the call to Read
There is a bug in Parlot |
@sebastienros yes that is what I am thinking too. Because the line that is throwing the exception is in Parlot. |
You can close this PR, I had to do several changes in Parlot to get all the tests passing |
Fix #35