1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-01-17 22:22:53 +08:00
inih/tests/multi_line.ini
Ben Hoyt bd798c5377
Make inline comments work on subsequent lines of multiline values (#140)
This is a bug fix that makes inih's behaviour here work as per Python's
ConfigParser, which is what inih behaviour is (loosely) based on.

Thanks @silly2020 for the report. See
https://github.com/benhoyt/inih/issues/120#issuecomment-1181341960
2022-07-12 21:20:05 +12:00

18 lines
283 B
INI

[section1]
single1 = abc
multi = this is a
multi-line value
single2 = xyz
[section2]
multi = a
b
c
[section3]
single: ghi
multi: the quick
brown fox
name = bob smith ; comment line 1
; comment line 2
foo = bar ;c1
Hi World ;c2