Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The last line of INI cannot be comments #2012

Open
UlyssesZh opened this issue Nov 21, 2023 · 0 comments
Open

The last line of INI cannot be comments #2012

UlyssesZh opened this issue Nov 21, 2023 · 0 comments
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@UlyssesZh
Copy link

Name of the lexer
INI

Code sample

HELLO=world
; comments

Rendered result:

<span class="py">HELLO</span><span class="p">=</span><span class="s">world</span>
<span class="err">;</span> <span class="err">comments</span>

Expected (may be produced by appending a newline at the end of the code sample above):

<span class="py">HELLO</span><span class="p">=</span><span class="s">world</span>
<span class="c">; comments</span>

Additional context
There seems to be no universal standards for INI, but comments in the last line should be a stable enough feature of INI.

@UlyssesZh UlyssesZh added the bugfix-request A request for a bugfix to be developed. label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

No branches or pull requests

1 participant