gwern comments on Case Study: Reading Edge's financial filings - Less Wrong Discussion
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (13)
If anyone knows how to fix the spacing problem, I'd appreciate it. It looks absolutely correct when I go to edit it, which makes sense since I wrote it correctly and Pandoc generated its usual HTMl.
Fixed, and changed formatting on the chat log (was it sensible in your browser? In Chrome, it looked like a single very long line with a horizontal scrollbar).
Somehow the markup doesn't like <div>, which you used to set the anchors. Replacing those with <a name="..."></a> fixed the missing spaces problem.
It worked before in Firefox; Pandoc generates the correct code from multiple heavily indent lines, so I think this is just another Chrome rendering bug. (It does that a lot - for example, the MathML on gwern.net apparently breaks in Chrome.)
I saw the single large scroll bar in Firefox 5. In fact, I saved the old markup and it has a <pre><code> with no linebreaks inside. If you didn't see the scroll bar, it's because you didn't look at it on LW.
As a data point, it shows up correctly in the RSS feed.
More spaces? It looks like the html is eating the spaces around it, but not other characters - see where you linked to Amazon S3, for example. Maybe two spaces either side of the html links will result in only one getting eaten. More a bandaid than a fix, but eh.