Code style is broken

It appears that styling text as code results now in only displaying the first line and truncating the rest. I think existing snippets might be affected as well.


I can only suspect there was more code in the original post.
Tagged:

Comments

  • Sample text of four lines
    body {
        display: grid;
    }
    <div>Sample text of four lines</div><div>body {</div><div>&nbsp;&nbsp;&nbsp; display: grid;</div>}
  • Adam Jagosz
    Adam Jagosz Posts: 689
    edited December 2019
    The above test post appears to have been treated differently, with just the first line styled as code. The source looked like this:
    Anyway, I remember appearing some code in one of my recent posts truncated, which I amended by removing the wrapping code tag and leaving just the pre tag.
  • Adam Jagosz
    Adam Jagosz Posts: 689
    edited December 2019
        Test 2 line 1/2
            Test 2 line 2/2
    <div><br></div><div>&nbsp;&nbsp;&nbsp; Test 2 line 1/2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Test 2 line 2/2</div>
        Test 2 line 1/2
            Test 2 line 2/2
  • The above was


  • *And is:


    Anyone? Hullo...
  • Hey, sorry, you posted this originally while I was traveling for the holidays and it slipped off my radar. 

    I poked around in the settings but couldn't seem to fix it. Maybe one of the other admin/mods @Tiffany Wardle @James Hultquist-Todd @Jess McCarty @Ramiro Espinoza knows something more than me?