From: Claudio Sacerdoti Coen Date: Fri, 23 Nov 2001 17:12:00 +0000 (+0000) Subject: Content-type for MathML Content "fixed". Why was it broken? X-Git-Tag: mlminidom_0_2_2~68 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=7205aee7f92f2a3a41c6e1bc9bd81ec6d6104ee3;p=helm.git Content-type for MathML Content "fixed". Why was it broken? --- diff --git a/helm/on-line/javascript/control.js b/helm/on-line/javascript/control.js index 7dc83d7f2..633ddbef4 100644 --- a/helm/on-line/javascript/control.js +++ b/helm/on-line/javascript/control.js @@ -208,7 +208,13 @@ function makeURL(type,uri,cicflags,typesflags) "¶m.interfaceURL=" + escape(interfaceURL) + "¶m.thinterfaceURL=" + escape(thinterfaceURL); } else if (format == "mml_cont" && type == "cic") { - keys = escape("d_c,C1"); + keys = escape("d_c,C1")+ + "&prop.doctype-public="+ + "&prop.encoding=" + + "&prop.media-type=text/xml" + + "¶m.doctype-public=" + + "¶m.encoding=" + + "¶m.media-type=text/xml"; } else if (format == "mml_cont" && type == "theory") { keys = escape("T1,L,E")+ "¶m.keys=" + escape("d_c,C1") +