Feature/directive/handle url encoding #12
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: dolysis/yary#12
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/directive/handle-url-encoding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR allows the scanner to properly consume percent encoded UTF8 in tag directives. It also makes a change to the
Scanner.next_token
return, moving from aToken<'a>
to aRef<'borrow, 'copy>
, allowing the scanner to copy into the givenscratch
space and return aToken
that borrows from it.Finally, it includes a unit test for tag directive percent encoding.