Question

I have QString with html tags. Why can i get plain text from this string?

Was it helpful?

Solution

You need to strip off the HTML tags from the string. See this post for instance.

OTHER TIPS

str.remove(QRegExp("<[^>]*>"));

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top