speculator: Sent Content-Type: text/html header
Go is auto-detecting that this is XML (because for some reason we generate XHTML), and serving it with a Content-Type header text/xml. This causes the browser to render it as XHTML, which gives interesting quirks like extra newlines. This forces the browser to interpret it as HTML. What we should probably do instead of stop generating XHTML and start generating HTML. But in the mean time, this will fix the rendering issues.pull/148/head
parent
161441fa3a
commit
559747e77a
Loading…
Reference in New Issue