What do I need to escape inside the html
 tag

前端 未结 4 1209
栀梦
栀梦 2021-02-07 03:19

I use the

 tag in my blog to post code. I know I have to change < to < and > to >         


        
4条回答
  •  不思量自难忘°
    2021-02-07 03:58

    Use this and don't worry about any of them.

    ${fn:escapeXml('
      
    ')};
    

    You'll need to have jQuery enabled for it to work.

提交回复
热议问题