Home > Mobile >  WeChat small string of code in the program can't escape
WeChat small string of code in the program can't escape

Time:04-18

Do you code escape problems, back-end use elasticsearch returns a string is the highlight of this

Name: "& lt; The view style="color: red '& gt; The dog & lt;/view>"

On the front end through the {{name}} values found code not escaped

Display or & lt; The view style="color: red '& gt; The dog & lt;/view>

Rather than an imaginary red font

Want to ask how to solve this problem
  • Related