Proper usage of JTidy to purify HTML

前端 未结 3 1419
梦毁少年i
梦毁少年i 2021-01-13 03:18

I am trying to use JTidy (jtidy-r938.jar) to sanitize an input HTML string, but I seem to have problems getting the default settings right. Often strings such as \"hello wor

3条回答
  •  耶瑟儿~
    2021-01-13 04:13

    Well, this seems to be a bug in Jtidy. For the exact file which causes problems, refer here:

    http://sourceforge.net/tracker/?func=detail&aid=2985849&group_id=13153&atid=113153

    Thanks for all the help folks!

提交回复
热议问题