I should be able to use a HTMLView or markdown-render module to display the post content.
Actual behavior
Pictures don't show up, html or markdown text shows up in the post body. Approaching it either as HTML or markdown doesn't work (maybe a mix of both would?)
How to reproduce
Take a post body from the API. Try running it through either of these:
import Markdown from "react-native-easy-markdown";
import HTMLView from 'react-native-htmlview';
<Markdown>
{item.body}
</Markdown>
<HTMLView value={item.body}/>
Markdown view:
HTML view:
What is your method - does the body use a special format/protocol that I should be aware of? Thanks!
Expected behavior
I should be able to use a HTMLView or markdown-render module to display the post content.
Actual behavior
Pictures don't show up, html or markdown text shows up in the post body. Approaching it either as HTML or markdown doesn't work (maybe a mix of both would?)
How to reproduce
Take a post body from the API. Try running it through either of these:
Markdown view:
HTML view:
What is your method - does the body use a special format/protocol that I should be aware of? Thanks!