From 045f21f9fe22f4ef9353c76cff71a16f69793ef3 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Thu, 17 Dec 2015 16:33:19 -0800 Subject: [PATCH] Code highlighting test --- _posts/2014-04-14-node-express-safari.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_posts/2014-04-14-node-express-safari.md b/_posts/2014-04-14-node-express-safari.md index f073e16fb..8c5f04e85 100644 --- a/_posts/2014-04-14-node-express-safari.md +++ b/_posts/2014-04-14-node-express-safari.md @@ -88,6 +88,7 @@ and no matter how many times I press Reload, the response is the same (except fo So, here's the kludge I've added to my Express server code, to prevent Safari from displaying blank pages for those XML files: +{% highlight javascript linenos %} /* * The Safari "blank page" problem continues to plague us. Our first work-around was for directory * "index.html" documents, which we resolved by always sending the document ourselves, along with an @@ -128,6 +129,7 @@ So, here's the kludge I've added to my Express server code, to prevent Safari fr } } } +{% endhighlight %} I should add that this problem wasn't limited to XML files. It's a problem for the first resource requested by Safari for any URL on the site (eg, URLs that default to "index.html" files).