I'm building a website where I want to display my Freshdesk solution articles to my users with custom css styling. My API calls are successfully returning the solution articles, but the description_text property which holds the content of the articles is just a string of text (there is no html). How can I get this data formatted as an html string from the Freshdesk API? Thanks for your help.
Asked
Active
Viewed 132 times
-2
-
Please provide enough code so others can better understand or reproduce the problem. – bitski Nov 10 '21 at 23:33
2 Answers
1
Err... something like this?
const App = () => {
return (
<p style={/* whatever crazy style */}>
{description_text}
</p>
)
};
Man it is so hard to answer when people make vague questions...

Matthew Kwong
- 2,548
- 2
- 11
- 22
-
1*Man that is why we don't bother answering vauge questions and use the tools at our disposal to prompt OPs to improve their questions* – Drew Reese Nov 10 '21 at 05:37