I read programming blogs which frequently show code snippets inside
tags, where linebreaks and spacing should be preserved (and they were in that g----e product). Unfortunately, in newsblur the code is all run together, making the code snippets unreadable in "feed" and "text" views. Here is an example (with reader on the left and newsblur on the right):
[![](https://d37wxxhohlp07s.cloudfront.net/s3_images/874172/reader-newsblur-compared_inline.png?1363695435)](https://d37wxxhohlp07s.cloudfront.net/s3_images/874172/reader-newsblur-compared.png?1363695435)
This misbehavior is seemingly identical on www and dev.
I found that by installing stylish and applying the following site style, my experience in newsblur is improved:
@-moz-document domain("dev.newsblur.com") {
pre { white-space: pre-wrap !important }
} ``` other browsers besides firefox may have their own ways to override site styles.
I have an example that I believe is related. In the case of this story the code blocks are displayed correctly in the “text” display mode but they run onto a single line in the “feed” mode.
The story title is “Using Java’s JDBC-ODBC bridge from Clojure”
Yep, still seeing this. I think it’s mainly the fault of whatever you’re using to do syntax highlighting (also, the syntax highlighting seems to fail in lots of cases, so why even apply it at all?)
Looks like it only happens on stories that see content changes. The code pulls in fine the first time, but when it gets rewritten to include diffs, all of the formatting is lost. I’m working on a fix now, but it may not take.
Hooray! I’ve got some terrific news. Not only has this bug been squashed but I also fixed the bug where links would compress the space around them if any word in the containing paragraph was changed. Same bug, in fact.
This should propagate out over the next few hours. Unfortunately it won’t fix existing blog posts unless they have another change. But it should no longer happen to new posts.
I’m still seeing this, or something like it. For instance, this page is rendered with the code blocks all on a single line: https://devlinzed.com/2014-05-05-disc…