how to enter < br > from database

I’m entering text in my html from a database. Usually when I enter <br> it works fine but for some reason I’m getting lt;brgt; when I try to do this in a section using fullcalendar. I also tried n but that didn’t work either. Is there a way to add the < br > to the database to get it to work

Answer

On version 5.5.1 you can use this

eventContent: function(eventInfo) {
       return { html: eventInfo.event.title }
}

if your title has a
that will be taken care of.

Leave a Reply

Your email address will not be published. Required fields are marked *