payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/texstudio-org/texstudio/issues/521","repository_url":"https://api.github.com/repos/texstudio-org/texstudio","labels_url":"https://api.github.com/repos/texstudio-org/texstudio/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/texstudio-org/texstudio/issues/521/comments","events_url":"https://api.github.com/repos/texstudio-org/texstudio/issues/521/events","html_url":"https://github.com/texstudio-org/texstudio/issues/521","id":415496260,"node_id":"MDU6SXNzdWU0MTU0OTYyNjA=","number":521,"title":"Macros save incorrect","user":{"login":"OgnevI","id":48083800,"node_id":"MDQ6VXNlcjQ4MDgzODAw","avatar_url":"https://avatars2.githubusercontent.com/u/48083800?v=4","gravatar_id":"","url":"https://api.github.com/users/OgnevI","html_url":"https://github.com/OgnevI","followers_url":"https://api.github.com/users/OgnevI/followers","following_url":"https://api.github.com/users/OgnevI/following{/other_user}","gists_url":"https://api.github.com/users/OgnevI/gists{/gist_id}","starred_url":"https://api.github.com/users/OgnevI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OgnevI/subscriptions","organizations_url":"https://api.github.com/users/OgnevI/orgs","repos_url":"https://api.github.com/users/OgnevI/repos","events_url":"https://api.github.com/users/OgnevI/events{/privacy}","received_events_url":"https://api.github.com/users/OgnevI/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-02-28T08:09:22Z","updated_at":"2019-04-03T10:22:18Z","closed_at":"2019-04-03T10:22:18Z","author_association":"NONE","body":"<!-- add as much describing information about your issue as necessary -->\r\n<!-- remove empty sections -->\r\n### Environment\r\n- TeXstudio: <!-- VERSION \t-->* 2.12.14\r\n- Qt: <!-- SEE THE ABOUT SCREEN IN TXS -->* 5.8.0\r\n- OS: <!-- Windows(7,8,10), Mac, Linux (Distribution), ... --> * Windows 7\r\n- TeX distribution: <!-- miktex, texlive, ... -->* MiKTeX 2.9\r\n\r\n### Expected behavior\r\nSave the original text of added macros.\r\n\r\n### Actual behavior\r\nFor example, following text of Macros:\r\n%%%%\r\n\\begin{gather}\r\n%|!formula 1!%|\r\n\\\\\r\n!formula 2!\r\n\\end{gather}\r\n%%%%\r\n\r\nafter close TexStudio is transformed to:\r\n%%%\r\n\\begin{gather}\r\n\t!formula 1!\r\n\t\\\",\r\n\t\r\n\t,\r\n\t\r\n\t,\r\n\r\n### How to reproduce\r\nAdd to program example  of macros above."}}
other: {"actor":{"display_login":"sunderme"}}