rouge icon indicating copy to clipboard operation
rouge copied to clipboard

The last line of INI cannot be comments

Open UlyssesZh opened this issue 2 years ago • 0 comments

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 avatar Nov 21 '23 04:11 UlyssesZh