Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Code Blocks are not getting wrapped in revision diffs #888
When viewing diffs of different site revisions code blocks should get wrapped
Code blocks don't get rendered correctly when viewing a diff
Steps to Reproduce
Change something in a code block an view the changes in revision history
Yeah, Codemirror instances won't run on diffs but I don't think they should in that case since it'll remove any diff highlighting which I'd consider more important in this view.
I think instead we just need to add styling to wrap these on diffs. I think we already do this for exports.