Mercurial > public > sg101
view static/js/tiny_mce/plugins/template/langs/en_dlg.js @ 715:820e57e621e8
Use |safe filter on Haystack templates to get better results w/quotes.
Content was getting escaped, so text with quotes around it was seemingly
missing from the search index. This change fixed that. I verified that the
search results will not leak raw HTML to the page so this should be safe to do.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 17 Sep 2013 20:26:49 -0500 |
parents | 88b2b9cb8c1f |
children |
line wrap: on
line source
tinyMCE.addI18n('en.template_dlg',{ title:"Templates", label:"Template", desc_label:"Description", desc:"Insert predefined template content", select:"Select a template", preview:"Preview", warning:"Warning: Updating a template with a different one may cause data loss.", mdate_format:"%Y-%m-%d %H:%M:%S", cdate_format:"%Y-%m-%d %H:%M:%S", months_long:"January,February,March,April,May,June,July,August,September,October,November,December", months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec", day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday", day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun" });