Problem in detection of lang: in yaml front matter #156
Labels
1-bug 🐛
Issue type: Bug report (something isn't working as expected)
2-confirmed
Issue status: Confirmed, reproducible bug in LTeX
3-fixed
Issue resolution: Issue has been fixed on the develop branch
Milestone
Describe the bug
In the case where
lang: language
where language is not in quotes, the yaml parsers seems to take on all following options as a language:'language\nfollowingtitle: option\n'
Steps to reproduce
Steps to reproduce the behavior:
lang: language
in yaml front matter. The language shouldn't be encased in quotesExpected behavior
Only us language string and stop at newline
Sample document
LTeX LS log
Version information
List here the version information of the relevant software.
Additional context/information
This works without problem when the language string is between quotes. By looking at tests, this doesn't seem like something that can be seen by the current tests for the yaml front matter
The text was updated successfully, but these errors were encountered: