Answer the question
In order to leave comments, you need to log in
How to parse html using standard Bitrix tools?
[U][COLOR=#ee1d24]Some text[/COLOR][/U] - in this view, the data is stored in the b_blog_post table in the DETAIL_TEXT column.
There is a blogTextParser class, and it has a convert method that parses from the data representation stored in DETAIL_TEXT
and creates data in the html tags representation.
So, is there any method that does the opposite (from the data that is presented in the form of html tags, it creates a representation of the data that will be stored in the b_blog_post table in the DETAIL_TEXT column)?
Answer the question
In order to leave comments, you need to log in
I think you need not so much the standard Bitrix tools as the standard php tools.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question