one thing i can not get straight is the ability to add html without it being escaped or actually creating new lines
here's my json:
{ "id": 30,
"title": "Basics \n Awesome Abs & Butt Blast \n Danielle B",
"start": "2010-05-11T08:00:00-04:00",
"end": "2010-05-11T08:30:00-04:00",
"allDay": false
}
and here's the code for it:
[
<% @events.each do |e| %
{ "id": <%= e.id -%,
"title": "<%= e.event_template.level %<%= e.monqi_class.title %<%= e.instructor.last_initial %",
"start": "<%= e.start_date.iso8601 %",
"end": "<%= e.end_date.iso8601 %",
"allDay": false
}
<%= @events.last == e ? "" : "," %
<% end -%
]
so I am trying to have inside an even 3 lines, (level, class title, and instructor)
the problem is it's getting escaped so the charcters are not being parsed by html
can you please help me with that?
Thanks a lot
Ami