GeoffZhu / vue-event-calendar

A simple events calendar for Vue2, no dependencies except Vue2.

Home Page:http://geoffzhu.cn/vue-event-calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'desc' property not detecting code for creating a line break like '\n' or '<br/>'

snow-drop opened this issue · comments

Good day. First of all, I'm thankful for this library for showing events on a calendar. It's intuitive, simple to use. Anyway, I'm facing an issue with regards to the 'desc' property of the events. Is there a way to create a description with line beaks? like:

return {
   date: date,
   title: 'Titile',
   desc: 'This \n is \n a \n description' // 'This <br/> is <br/> a </br> description.'
}