I'm using express.js with EJS templates and i'm trying to do something like this:
<%= "<a href='#'>Test</a>" %>
but it prints this:
<a href='#'>Test</a>
how can i print "html safe" strings?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…