fix #1071 fixing auto-escaping issue in calendar widget

This commit fixes the issue introduced by commit
6584f219fad148129fa6de28cc434e1303405f9d in the calendar
template.