Closed ghoomfrog closed 4 years ago
All html is escaped by default to prevent XSS injection.
If you want to render unescapted html use the raw
function: (note, raw
writes to the buffer, it does not return anything, so we call it in a function to render to the buffer when inside of the p tag)
p -> raw "•"
I recommend never using raw because it can be a source of security vulnerabilities. You can put the actual bullet character directly into your view like this:
p "•"
E.g.
p '•'
=><p>•</p>
.