Answers for "innerHTML pug/jade, rendering html inside pug"

3

innerHTML pug/jade, rendering html inside pug

The syntax you need is :

!{yourJsVariable}
if you use #{yourJsVariable} it shows consider it as string,
but with !{} it doesn't.
Posted by: Guest on September-16-2021

Browse Popular Code Answers by Language