Commit Graph

2 Commits

Author SHA1 Message Date
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Nicole Prindle
8e3acc32ee
Fix lexing in embedded type links in docs
A doc containing an embedded term link in a doc like
`{{a doc linking to {abilityFoo}}}` would previously eagerly lex
`ability` or `type` as a keyword, tricking the parser into thinking
we're in an embedded type link, and then complain about not finding
`Foo`. This fixes the lexer to treat such cases as term links instead.

Adds a regression test transcript for making sure that `type` and
`ability` are lexed properly in type and term links in docs.
2022-02-02 02:00:37 -05:00