Merged in [19359] from rjsparks@nostrum.com:

Render markdown agendas in popups on the agenda page. Fixes #3039.
 - Legacy-Id: 19369
Note: SVN reference [19359] has been migrated to Git commit 7912d05417
This commit is contained in:
Robert Sparks 2021-09-18 21:45:43 +00:00
commit a51e5e87fa

View file

@ -27,7 +27,7 @@ var agenda_materials; // public interface
output_elt.html("<p>Error: missing data-src attribute</p>");
} else {
output_elt.html("<p>Loading " + data_src + "...</p>");
var outer_xhr = $.get(data_src)
var outer_xhr = $.ajax({url:data_src,headers:{'Accept':'text/plain;q=0.8,text/html;q=0.9'}})
outer_xhr.done(function(data, status, xhr) {
var t = xhr.getResponseHeader("content-type");
if (!t) {