{"action":"created","issue":{"url":"https://api.github.com/repos/waylan/Python-Markdown/issues/390","labels_url":"https://api.github.com/repos/waylan/Python-Markdown/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/waylan/Python-Markdown/issues/390/comments","events_url":"https://api.github.com/repos/waylan/Python-Markdown/issues/390/events","html_url":"https://github.com/waylan/Python-Markdown/issues/390","id":58900383,"number":390,"title":"Meta extension: Empty line in YAML is considered as `End of Document`","user":{"login":"alixedi","id":3349430,"avatar_url":"https://avatars.githubusercontent.com/u/3349430?v=3","gravatar_id":"","url":"https://api.github.com/users/alixedi","html_url":"https://github.com/alixedi","followers_url":"https://api.github.com/users/alixedi/followers","following_url":"https://api.github.com/users/alixedi/following{/other_user}","gists_url":"https://api.github.com/users/alixedi/gists{/gist_id}","starred_url":"https://api.github.com/users/alixedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alixedi/subscriptions","organizations_url":"https://api.github.com/users/alixedi/orgs","repos_url":"https://api.github.com/users/alixedi/repos","events_url":"https://api.github.com/users/alixedi/events{/privacy}","received_events_url":"https://api.github.com/users/alixedi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-25T13:20:51Z","updated_at":"2015-02-26T21:17:13Z","closed_at":null,"body":"For:\r\n\r\nPyYAML==3.11\r\n\r\nThis fails:\r\n\r\n```python\r\ndoc = \"\"\"---\r\nFirst name: John\r\nLast name: Doe\r\n\r\nemail: john@doe.com\r\n---\r\n\r\nHello World!\r\n\"\"\"\r\n\r\nimport markdown\r\nmd = markdown.Markdown(extensions=[markdown.extensions.meta.MetaExtension(yaml=True)])\r\nassert md.convert(doc) == '<p>Hello World</p>'\r\n```\r\n\r\nI understand that YAML [can have blank lines](http://yaml.org)."},"comment":{"url":"https://api.github.com/repos/waylan/Python-Markdown/issues/comments/76275365","html_url":"https://github.com/waylan/Python-Markdown/issues/390#issuecomment-76275365","issue_url":"https://api.github.com/repos/waylan/Python-Markdown/issues/390","id":76275365,"user":{"login":"waylan","id":78846,"avatar_url":"https://avatars.githubusercontent.com/u/78846?v=3","gravatar_id":"","url":"https://api.github.com/users/waylan","html_url":"https://github.com/waylan","followers_url":"https://api.github.com/users/waylan/followers","following_url":"https://api.github.com/users/waylan/following{/other_user}","gists_url":"https://api.github.com/users/waylan/gists{/gist_id}","starred_url":"https://api.github.com/users/waylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waylan/subscriptions","organizations_url":"https://api.github.com/users/waylan/orgs","repos_url":"https://api.github.com/users/waylan/repos","events_url":"https://api.github.com/users/waylan/events{/privacy}","received_events_url":"https://api.github.com/users/waylan/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T21:17:13Z","updated_at":"2015-02-26T21:17:13Z","body":"@tomchristie or @d0ugal (from mkdocs) and @getpelican (from Pelican), do you guys have any input on the future of Python-Markdown's Meta-Data extension. I'd like to hear from you (presumably Python-Markdown's biggest users now that Django removed the markup contrib app) before doing anything drastic like deprecating an extension that both projects rely heavily on. See the earlier comments in this discussion for the details, but the current idea is to remove the broken YAML support immediately (in 2.6.1 as a bug-fix) as it has not even been a week and then start the deprecation process for the entire extension with the next major release which would be months out at the earliest.\r\n\r\nOh and look for a plan for a 3.0 published sometime in the near future. I'm ruminating on it now and will start to put something together soon. I don't expect much more in the 2.x series (3.0 might be next or if not, after 2.7)."}}