6
Quote:
Bleekk wrote:
Does this also prevent that xoops tags will be counted as chars?
Sorry, I misread things.
That works on HTML, not XoopsCode.
You would render first with MyTextSanitizer::xoopsCodeDecode(),
then crop the resulting HTML,
then run through that code to make sure the result is valid.
It isn't perfect, but it should fix the "article destroys the design of the complete website" issue.
Since some modules/configurations might allow HTML, a solution that works with the HTML would be best? We should have a standard function to do that, but we don't yet. Its on my list now.