Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown rendering for img inside of div #33

Open
jsfowles opened this issue Jul 28, 2017 · 3 comments
Open

Markdown rendering for img inside of div #33

jsfowles opened this issue Jul 28, 2017 · 3 comments
Labels

Comments

@jsfowles
Copy link

We get some weird <div>{{1}}</div> thing when trying to render a img inside of a div.

Here is the console.log of the string coming in.

image

Here is the Markdown

image

Here is how it is rendered

image

Any ideas?

@christianalfoni
Copy link
Collaborator

@jsfowles Hm, I am not sure if markdown is intended to mix html and markdown syntax. It might also be a bug, but I am in lack of time to fix it. Does this work on github? wrapping html around markdown syntax?

@Hypnosphi
Copy link
Member

In my view, everything inside html tag should be rendered as is, without markdown processing. And GitHub is doing exactly that.

The problem is, we don't =(

@Hypnosphi Hypnosphi added the bug label Dec 4, 2017
@connorwyatt
Copy link

Hey, interested to know if this is being worked on or not, raw HTML in markdown is part of the spec and the marked plugin outputs the tags correctly. I notice this got marked as a bug a year ago, and would be keen to know if it's likely to be fixed or if I need to find another solution/package to do this?

Thanks,

Connor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants