I just edited a question in the iOS app to remove extraneous indentation. I then viewed the diff to make sure the edit did what I intended, and I saw this:


Looks like it starts out as Menlo/Monaco, and switches to Courier partway through?

  • App Version:
  • Device: iPhone 7
  • OS Version: Version 10.2 (Build 14C92)
  • Oy, there are so many problems with that diff. – Brian Nickel Jan 20 '17 at 18:46

This will be fixed in

Ignoring the fact that the diff is a train wreck, the problem is that somehow the code between the changes is not in a <code> tag and we only defined a font for code and not pre.

Added a font rule for pre.

| improve this answer | |
  • Thanks! Is the diff computed on the server or in the app? – jtbandes Jan 20 '17 at 20:22
  • @jtbandes In the app, there's probably an implementation bug or it could be related to some properties I've changed for performance reasons. (Swift 2 strings were terribly slow in debug builds.) – Brian Nickel Jan 20 '17 at 20:25

You must log in to answer this question.

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