{"action":"created","issue":{"url":"https://api.github.com/repos/getgrav/grav/issues/1026","repository_url":"https://api.github.com/repos/getgrav/grav","labels_url":"https://api.github.com/repos/getgrav/grav/issues/1026/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav/issues/1026/comments","events_url":"https://api.github.com/repos/getgrav/grav/issues/1026/events","html_url":"https://github.com/getgrav/grav/issues/1026","id":175125031,"number":1026,"title":"Markdown Extra breaks Twig","user":{"login":"hansvana","id":10974059,"avatar_url":"https://avatars.githubusercontent.com/u/10974059?v=3","gravatar_id":"","url":"https://api.github.com/users/hansvana","html_url":"https://github.com/hansvana","followers_url":"https://api.github.com/users/hansvana/followers","following_url":"https://api.github.com/users/hansvana/following{/other_user}","gists_url":"https://api.github.com/users/hansvana/gists{/gist_id}","starred_url":"https://api.github.com/users/hansvana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansvana/subscriptions","organizations_url":"https://api.github.com/users/hansvana/orgs","repos_url":"https://api.github.com/users/hansvana/repos","events_url":"https://api.github.com/users/hansvana/events{/privacy}","received_events_url":"https://api.github.com/users/hansvana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-05T20:35:58Z","updated_at":"2016-09-06T14:33:46Z","closed_at":null,"body":"On a Twig-enabled page I use the following code:\r\n`<a href=\"{{ page.url }}\">{{ page.title }}</a>`\r\nWhich outputs something like\r\n`<a href=\"my-page\">My page</a>`\r\nWhich works fine, until I enable Markdown Extra on my site through the Admin panel.\r\nAfter that, the output changes to\r\n`<a href=\"%7B%7B%20page.url%20%7D%7D\">My page</a>`\r\nSo {{ page.title }} still works, but {{ page.url }} breaks, I'm guessing because of the quotes.\r\n\r\nFull (redacted) page code: [http://pastebin.com/GUFehkgr](http://pastebin.com/GUFehkgr)"},"comment":{"url":"https://api.github.com/repos/getgrav/grav/issues/comments/244969560","html_url":"https://github.com/getgrav/grav/issues/1026#issuecomment-244969560","issue_url":"https://api.github.com/repos/getgrav/grav/issues/1026","id":244969560,"user":{"login":"rhukster","id":1084697,"avatar_url":"https://avatars.githubusercontent.com/u/1084697?v=3","gravatar_id":"","url":"https://api.github.com/users/rhukster","html_url":"https://github.com/rhukster","followers_url":"https://api.github.com/users/rhukster/followers","following_url":"https://api.github.com/users/rhukster/following{/other_user}","gists_url":"https://api.github.com/users/rhukster/gists{/gist_id}","starred_url":"https://api.github.com/users/rhukster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhukster/subscriptions","organizations_url":"https://api.github.com/users/rhukster/orgs","repos_url":"https://api.github.com/users/rhukster/repos","events_url":"https://api.github.com/users/rhukster/events{/privacy}","received_events_url":"https://api.github.com/users/rhukster/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T14:33:46Z","updated_at":"2016-09-06T14:33:46Z","body":"I can't replicate this.. Here's what I have\r\n\r\nmain page:\r\n\r\n    ---\r\n    title: Markdown Extra breaks Twig #1026\r\n    process:\r\n        twig: true\r\n    markdown:\r\n        extra: true\r\n    content:\r\n        items: @self.siblings\r\n        order:\r\n            by: date\r\n            dir: desc\r\n        limit: 10\r\n        pagination: true    \r\n    ---\r\n    \r\n    {% for p in page.collection %}\r\n     <div><h3>{{ p.title }}</h3></div>\r\n     {% for c in p.children %}\r\n      <a href=\"{{ c.url }}\">{{ c.title }}</a>\r\n     {% endfor %}\r\n    \r\n    {% endfor %}\r\n\r\nThen this folder structure:\r\n\r\n![grav-demo-sampler 2016-09-06 08-31-27](https://cloud.githubusercontent.com/assets/1084697/18277627/580a373a-740c-11e6-86aa-509631bb8bc1.png)\r\n\r\nThe output looks fine:\r\n\r\n![markdown extra breaks twig grav 2016-09-06 08-31-59](https://cloud.githubusercontent.com/assets/1084697/18277637/656f5bb2-740c-11e6-8612-d4961938e55b.png)\r\n\r\nAnd source too:\r\n\r\n![markdown-extra-breaks-twig-1026 2016-09-06 08-32-47](https://cloud.githubusercontent.com/assets/1084697/18277675/81afb9de-740c-11e6-89ea-4046ddf08f26.png)\r\n\r\nMy guess is you have another plugin interfering.  So which plugins do you have installed?\r\n\r\n\r\n"}}
{"actor":{"display_login":"rhukster"}}