Older Posts Code Blocks are broken

It appears that on older posts the code blocks are completely broken. For example https://developer.apple.com/forums/thread/678075 show the code block as a single inline value. Looking at the HTML this is what I see generated

<code class="hljs block shell language-shell">Code Block shell#!/bin/bashrm -rf output/rm -rf simulator_fat/mkdir simulator_fatlibs=( "lib_static"  ) #Add for i in "${libs[@]}"do   lipo -create arm64_simulator/$i.a x86_64/$i.a -output simulator_fat/$i.a   xcodebuild -create-xcframework -library simulator_fat/$i.a -library arm64/$i.a -output output/$i.xcframeworkdone</code>

Obviously newer code blocks seem to be working (as long as the one above is) but it wreaks havoc trying to look at older posts.

Answered by DTS Engineer in 856492022
It appears that on older posts the code blocks are completely broken.

Well, largely broken, but yeah, it’s a problem. I filed a bug about this a while back (r. 154833455) but I’ve no info to share as to when it’ll be fixed.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

(The code block above in my post is also showing inline completely, so I'm guessing something bigger is going on here with code blocks?)

Accepted Answer
It appears that on older posts the code blocks are completely broken.

Well, largely broken, but yeah, it’s a problem. I filed a bug about this a while back (r. 154833455) but I’ve no info to share as to when it’ll be fixed.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks Quinn! Glad you all are at least aware of it.

Older Posts Code Blocks are broken
 
 
Q