{"action":"closed","issue":{"url":"https://api.github.com/repos/Rapporter/pander/issues/173","labels_url":"https://api.github.com/repos/Rapporter/pander/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/Rapporter/pander/issues/173/comments","events_url":"https://api.github.com/repos/Rapporter/pander/issues/173/events","html_url":"https://github.com/Rapporter/pander/issues/173","id":83258439,"number":173,"title":"Pandoc.convert overwrites input markdown file","user":{"login":"petrelharp","id":1046249,"avatar_url":"https://avatars.githubusercontent.com/u/1046249?v=3","gravatar_id":"","url":"https://api.github.com/users/petrelharp","html_url":"https://github.com/petrelharp","followers_url":"https://api.github.com/users/petrelharp/followers","following_url":"https://api.github.com/users/petrelharp/following{/other_user}","gists_url":"https://api.github.com/users/petrelharp/gists{/gist_id}","starred_url":"https://api.github.com/users/petrelharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrelharp/subscriptions","organizations_url":"https://api.github.com/users/petrelharp/orgs","repos_url":"https://api.github.com/users/petrelharp/repos","events_url":"https://api.github.com/users/petrelharp/events{/privacy}","received_events_url":"https://api.github.com/users/petrelharp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-01T01:38:56Z","updated_at":"2015-12-10T05:06:17Z","closed_at":"2015-12-10T05:06:17Z","body":"Pandoc.convert if called on a markdown file, silently modifies the *input* file, by adding a footer. This seems to me to be bad behavior, and is not mentioned in the documentation, which says only that Pandoc.convert is used to \"convert specified file [...] to other formats like HTML\". \r\n\r\nMWE:\r\n\r\n1. Create a file called `test.md` with some text.\r\n2. Call `pander::Pandoc.convert(f=\"test.md\")`.\r\n3. Note the file has changed."}}