G
G
GineTik2020-05-12 21:21:58
PHP
GineTik, 2020-05-12 21:21:58

How to find a line that has a non-closed tag and close it?

I have a site where a person can write an "article", but it may be that he did not close the tag and then everything (not only the user's text, but also the site itself) will change.
For example, there is a line: Hello.
And because of this, the site can "fly".

Answer the question

In order to leave comments, you need to log in

1 answer(s)
4
4sadly, 2020-05-13
@4sadly

Try to search with a regular expression
And in general how to understand unclosed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question