godotenv removes trailing `#..` as comment
Comments in .env files must be preceded by a space character godotenv looking for comments delimiter must check previous character is a blanck one
see https://github.com/theskumar/python-dotenv/blob/master/tests/test_parser.py#L20-L23 as an explicit test case to check a=b#c should be parsed as key=a, value=b#c, but a=b #c should be parsed as key=a, value=b.
Hello, I have made a fix by myself and that let you make your string variables with # readable without single or double quotation.
You should change the function parseLine. It makes that library works like nodejs dotenv library.
@gzapatas nice. Why don't you propose this as a pull-request?
Just to chime in and +1 this, we also need this :+1:
Tried https://github.com/Autonomic-Cooperative/godotenv/commit/075e12e95fa159e261062da75b3a89d500427a50 but actually https://github.com/Autonomic-Cooperative/godotenv/commit/b031ea1211e7fd297af4c7747ffb562ebe00cd33 was the winner :upside_down_face: