Contentful logo

Contentful Community

All data wrapped in <p> Tags, why?

Hi All,

I have been working on building a photo blog for myself and I have it up and running, but all the content comes back wrapped in

tags. Text I expect that, but even img’s sit inside a

tag rather than just be an Img. I am using a markdown converter. Is it the interpreter or is this common and changeable on the Contentful side? If so, how? Thanks! Tried searching the interwebs and the forum with little luck.

Finally found an article and in the last comment this did the trick for me:

https://github.com/rexxars/react-markdown/issues/184 Hope it helps others!