Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

If you look at the following questions tagged sml, ocaml and F# respectively, you'll see that the formatting is broken:

It seems the problem is that 'foo is interpreted as the start of a string, not as a type variable as it should be.

At first I thought that the question were not correctly interpreted as ml-questions, but looking at the source code shows me that the <code> tags do indeed have class lang-ml prettyprint.

So I looked around at the prettify homepage and found this bug, which seems to describe the same problem. It is marked as fixed.

Since the bug is still happening on SO, I suspect SO might be using an old version of lang-ml.js (or the bug isn't really fixed - but it looks fixed in the source), so I suggest upgrading to the current version.

share|improve this question
up vote 2 down vote accepted

I have pulled the latest code from the google prettify repository - it will go out tonight.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .