N
N
nurdus2018-06-26 14:35:19
JavaScript
nurdus, 2018-06-26 14:35:19

How to clear inserts from word?

Good afternoon.
On the old site (on Joomla), the client, when adding text from word-a, "did not clear" it, respectively, a lot of "garbage" was inserted into the html. Can someone tell me a service (so that you can feed json) or an example of a cleanup code from such "garbage". Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Petr Vasiliev, 2018-06-28
@nurdus

php.net/manual/en/function.strip-tags.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question