N
N
Name2018-03-08 16:23:47
PHP
Name, 2018-03-08 16:23:47

Remove double tags?

It so happened that entries of this kind appeared How to correctly remove the internal tag, that is, remove < a href="/456" > and < /a >
<a href="/123"><a href="/456">dsfgdg</a></a>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2018-03-08
@webinar

simplehtmldom.sourceforge.net
https://code.google.com/archive/p/phpquery/

A
Anatoly Medvedev, 2018-03-08
@balamyt92

https://secure.php.net/manual/ru/function.strip-ta...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question