kronusaturn / lw2-viewer

An alternative frontend for LessWrong 2.0
https://www.greaterwrong.com/
MIT License
61 stars 6 forks source link

GreaterWrong doesn't handle blockquoted preformatted blocks with angle brackets correctly #3

Closed quanticle closed 4 years ago

quanticle commented 6 years ago

If you look at the Lesswrong version of Morality as Fixed Computation and compare it to the Greaterwrong version, you'll see that the GreaterWrong version doesn't display the blockquoted pseudocode correctly.

I've looked at the DOM of the LessWrong version using Firefox's DOM inspector, and it's really weird. The way the text is split up between <tt> elements makes no sense to me.

kronusaturn commented 6 years ago

Mostly fixed in 9c8d380

Discordius commented 6 years ago

Sometimes it's also correct to just fix the HTML of the offending post. This is just a straightforward copy of the old HTML, and a lot of the old HTML was quite janky.