{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/3198","repository_url":"https://api.github.com/repos/jgm/pandoc","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/3198/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/3198/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/3198/events","html_url":"https://github.com/jgm/pandoc/issues/3198","id":186247568,"number":3198,"title":"Markdown to rST: Raw <img> tags stripped","user":{"login":"nschloe","id":181628,"avatar_url":"https://avatars.githubusercontent.com/u/181628?v=3","gravatar_id":"","url":"https://api.github.com/users/nschloe","html_url":"https://github.com/nschloe","followers_url":"https://api.github.com/users/nschloe/followers","following_url":"https://api.github.com/users/nschloe/following{/other_user}","gists_url":"https://api.github.com/users/nschloe/gists{/gist_id}","starred_url":"https://api.github.com/users/nschloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nschloe/subscriptions","organizations_url":"https://api.github.com/users/nschloe/orgs","repos_url":"https://api.github.com/users/nschloe/repos","events_url":"https://api.github.com/users/nschloe/events{/privacy}","received_events_url":"https://api.github.com/users/nschloe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-31T10:14:14Z","updated_at":"2016-11-01T13:39:27Z","closed_at":null,"body":"I have a Markdown document that contains a raw `img` tag for specifying the image size, e.g.,\r\n```\r\n<img src=\"https://github.com/favicon.ico\" width=\"48\">\r\n```\r\nWhen converting the document to rST, the image tag is stripped off.\r\n\r\nIs there way to prevent this?"},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/257568474","html_url":"https://github.com/jgm/pandoc/issues/3198#issuecomment-257568474","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/3198","id":257568474,"user":{"login":"jkr","id":835121,"avatar_url":"https://avatars.githubusercontent.com/u/835121?v=3","gravatar_id":"","url":"https://api.github.com/users/jkr","html_url":"https://github.com/jkr","followers_url":"https://api.github.com/users/jkr/followers","following_url":"https://api.github.com/users/jkr/following{/other_user}","gists_url":"https://api.github.com/users/jkr/gists{/gist_id}","starred_url":"https://api.github.com/users/jkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkr/subscriptions","organizations_url":"https://api.github.com/users/jkr/orgs","repos_url":"https://api.github.com/users/jkr/repos","events_url":"https://api.github.com/users/jkr/events{/privacy}","received_events_url":"https://api.github.com/users/jkr/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T13:39:27Z","updated_at":"2016-11-01T13:39:27Z","body":"> Anyone have thoughts on this?\r\n\r\nI'd vote for avoiding interpreting. Would we try interpret LaTeX as well? I think doing raw pass-through to matching output is best. (as we do it now.)\r\n\r\nIf I'm wishing, though, what I would like to see is a half-way solution: don't interpret, but match delimiters. So instead of \r\n\r\n`RawInline (Format \"html\") \"<a href=\"http://.pandoc.org\">\",Str \"Pandoc!\",RawInline (Format \"html\") \"</a>\"`\r\n\r\nsomething like\r\n\r\n`RawSpan (Format \"html\")  (\"<a href=\"http://.pandoc.org\">\", \"</a>\") Str \"Pandoc!\"`\r\n\r\nSo if you wanted to do something with all your anchors or imgs or whatever, in either Html or Tex, it would be possible without writing an ad-hoc inline parser.\r\n"}}
{"actor":{"display_login":"jkr"}}