Skip to content

Commit bccf3a6

Browse files
committed
Improve syntax
1 parent 5c3bfd2 commit bccf3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)