{"action":"closed","issue":{"url":"https://api.github.com/repos/lektor/lektor/issues/241","repository_url":"https://api.github.com/repos/lektor/lektor","labels_url":"https://api.github.com/repos/lektor/lektor/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/lektor/lektor/issues/241/comments","events_url":"https://api.github.com/repos/lektor/lektor/issues/241/events","html_url":"https://github.com/lektor/lektor/issues/241","id":164890820,"number":241,"title":"iframe html in markdown halts further rendering of template","user":{"login":"nsfmc","id":216572,"avatar_url":"https://avatars.githubusercontent.com/u/216572?v=3","gravatar_id":"","url":"https://api.github.com/users/nsfmc","html_url":"https://github.com/nsfmc","followers_url":"https://api.github.com/users/nsfmc/followers","following_url":"https://api.github.com/users/nsfmc/following{/other_user}","gists_url":"https://api.github.com/users/nsfmc/gists{/gist_id}","starred_url":"https://api.github.com/users/nsfmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsfmc/subscriptions","organizations_url":"https://api.github.com/users/nsfmc/orgs","repos_url":"https://api.github.com/users/nsfmc/repos","events_url":"https://api.github.com/users/nsfmc/events{/privacy}","received_events_url":"https://api.github.com/users/nsfmc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-11T17:27:34Z","updated_at":"2016-07-11T18:34:48Z","closed_at":"2016-07-11T18:34:48Z","body":"Suppose you have some markdown content, ala\r\n\r\n```ini\r\n; blog.ini\r\n;...\r\n[fields.content]\r\nlabel = Page Content\r\ntype = markdown\r\n```\r\n\r\nand a template that renders that\r\n\r\n```jinja\r\n{# blog.html #}\r\n{{ this.content }}\r\n```\r\n\r\nif one of your blog contents.lr files looks like this:\r\n\r\n```markdown\r\nHere is a gyfcat iframe embed of some rotating triangles\r\n\r\n<iframe src=\"http://gfycat.com/ifr/LinearWideeyedHorsefly\" frameborder=\"0\" scrolling=\"no\" width=\"600\" height=\"200\" style=\"-webkit-backface-visibility: hidden;-webkit-transform: scale(1);\"></iframe>\r\n\r\nthis text never renders even though the above iframe does\r\n```\r\n\r\nHowever, if you update `blog.html` to \r\n```jinja\r\n{{ this.content|safe }}\r\n```\r\n\r\nthe entirety of the markdown is rendered."}}
{"actor":{"display_login":"nsfmc"}}