I clear html through htmlpurifilter but deletes the block it is in, I need to keep the styles. How to do it?

  • 2
    try to arrange the question in an understandable language - SeVlad
  • And what is not clear? I am trying to clear the html from garbage using htmlpurifilter. It clears the head block, but I need to save it. It seems clear - Loligan
  • Specify allowed tags in parameters ( htmlpurifier.org/live/configdoc/plain.html#HTML.Allowed ) - ilyaplot
  • one
    @Loligan And you read your question, I see there is something unclear and a lot of disrespect to the community members. Азазчем песат правельноеслиэтонеэкзамен? - ilyaplot
  • @ilyaplot unfortunately he doesn’t want to accept head and style tags - Loligan

0