{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/3304","labels_url":"https://api.github.com/repos/minetest/minetest/issues/3304/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/3304/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/3304/events","html_url":"https://github.com/minetest/minetest/issues/3304","id":114080170,"number":3304,"title":"Allow in-line commenting in minetest.conf","user":{"login":"CraigyDavi","id":5341072,"avatar_url":"https://avatars.githubusercontent.com/u/5341072?v=3","gravatar_id":"","url":"https://api.github.com/users/CraigyDavi","html_url":"https://github.com/CraigyDavi","followers_url":"https://api.github.com/users/CraigyDavi/followers","following_url":"https://api.github.com/users/CraigyDavi/following{/other_user}","gists_url":"https://api.github.com/users/CraigyDavi/gists{/gist_id}","starred_url":"https://api.github.com/users/CraigyDavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraigyDavi/subscriptions","organizations_url":"https://api.github.com/users/CraigyDavi/orgs","repos_url":"https://api.github.com/users/CraigyDavi/repos","events_url":"https://api.github.com/users/CraigyDavi/events{/privacy}","received_events_url":"https://api.github.com/users/CraigyDavi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-29T15:49:11Z","updated_at":"2015-10-30T16:40:41Z","closed_at":null,"body":"For example, I add a setting to minetest.conf and add a small comment explaining what it does:\r\n```\r\nfoo = bar #This sets foo to bar\r\n```\r\n...but when I use `minetest.setting_get(\"foo\")` it returns:\r\n```\r\nbar #This sets foo to bar\r\n```\r\n\r\nIt would be great if anything after `#` isn't part of the value, or at the very least a warning is displayed showing that the comment is part of the setting."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/152581473","html_url":"https://github.com/minetest/minetest/issues/3304#issuecomment-152581473","issue_url":"https://api.github.com/repos/minetest/minetest/issues/3304","id":152581473,"user":{"login":"rubenwardy","id":2122943,"avatar_url":"https://avatars.githubusercontent.com/u/2122943?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwardy","html_url":"https://github.com/rubenwardy","followers_url":"https://api.github.com/users/rubenwardy/followers","following_url":"https://api.github.com/users/rubenwardy/following{/other_user}","gists_url":"https://api.github.com/users/rubenwardy/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwardy/subscriptions","organizations_url":"https://api.github.com/users/rubenwardy/orgs","repos_url":"https://api.github.com/users/rubenwardy/repos","events_url":"https://api.github.com/users/rubenwardy/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwardy/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T16:40:41Z","updated_at":"2015-10-30T16:40:41Z","body":":-1:\r\n\r\nIt over complicates it, and makes you need to define ways to escape."}}