Skip to main content
Participating Frequently
March 26, 2024
Question

How can convert html tag to style in plugin developing

  • March 26, 2024
  • 2 replies
  • 340 views

The text contains HTML tags, and I want to find and replace them, such as making the text between <b></b> bold, the text between <i></i> italicized, and <br> for line breaks. Is there an interface that can accomplish this? 

This topic has been closed for replies.

2 replies

Community Expert
March 26, 2024

@Eugene Tyson I think BeautifulSoup is a Phython library. However, the idea is fine to use an HTML parser. @dorinho search Github for a HTML parser for C++ and that should help you in our opinion.

-Manan

-Manan
dorinhoAuthor
Participating Frequently
March 26, 2024

@Manan Joshi  Thanks. I will have a try.

Community Expert
March 26, 2024

Have a look at BeautifulSoup 

dorinhoAuthor
Participating Frequently
March 26, 2024

thank you ! I think python library couldn't help me