How to handle html tags in template strings

There is an input input box in the

page. If the other party enters < H2 > Hello < / H2 > , it will be automatically converted to large bold text.
how to output strings directly from p.content without parsing H2 tags into large bold?

${value}

`;

the above code parses the HTML tag into the default style. How can the template string achieve the same effect as textContent or innerText ?

Mar.01,2021

just escape the beginning and end of the tag in the string as follows:

  

find the rich text plug-in

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf813d-54d27.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf813d-54d27.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?