Mmm, why don't you just put user content in a div with id content
and then use the CSS selector #content img
?
add class automatically img object with htmlpurifier
-
10-03-2022 - |
문제
firstly sorry for my broken english.
before purify:
<img src="xxx.jpg"/>
after purify:
<img src="xxx.jpg" class="myclass" />
how can i do with html purifier?
올바른 솔루션이 없습니다
다른 팁
제휴하지 않습니다 StackOverflow