Any easy way to convert a bbcoded string (a paragraph with some bbcode tags inside, only B, U, S, IMG, URL bbcode tags) to PHPWord valid format using "addTextRun" or similar?
I cannot use "addHTML" function. I've already tried it.
Paragraph example:
The name, [b]Buenos Aires[/b], means fair winds, or [u]literally good airs in [b]Spanish[/b][/u]. It is one of the largest cities in Latin America, with a lot of cultural offer, and it is the beginning point for most Argentinean Experiences.
[img]https://www.bbvaresearch.com/wp-content/uploads/2017/10/situacion-argentina.jpg[/img]
Inhabitants of Buenos Aires are called porteños, "people from the port", implying that many of the inhabitants are immigrants in some ways or another. Buenos Aires is a singular, open, and integrating destination that allows the visitor not only to view the city but also to have an exceptional urban adventure.
It should look like this