Skip to content

Commit 4eb80ef

Browse files
committed
Improve syntax
1 parent 8f9692c commit 4eb80ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugo/content/guides/multi-mode-lexing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class CustomTokenBuilder extends DefaultTokenBuilder {
143143
```
144144

145145
With this change in place, the parser will work as expected. There is one last issue which we need to resolve in order to get everything working perfectly.
146-
When inspecting our AST, the `TemplateLiteral` object will contain strings with input artifacts in there (mainly `` ` ``, `{` and `}`).
146+
When inspecting our AST, the `TemplateLiteral` object will contain strings with input artifacts in there; mainly `` ` ``, `{` and `}`.
147147
These aren't actually part of the semantic value of these strings, so we should get rid of them.
148148
We will need to create a custom `ValueConverter` and remove these artifacts:
149149

0 commit comments

Comments
 (0)