Skip to main content
Asked
Viewed 55 times
2

This question (in revision 1) has a really weird StackSnippet content that doesn't want to display properly.

  • In the question it renders nested scrollbars:
  • Scrolling down to the bottom of the outer container, we find the StackSnippet buttons, which have a broken layout as well:
  • Finally, in the edit view we find only a small excerpt of the snippet in the preview:

What is going on here? Are the many HTML comments confusing the parser? Is this a potential security issue that allows HTML injection?

3
  • 1
    The code snippet was indented as if it were code, code snippets shouldn't be indented.
    Nick is tired
    –  Nick is tired
    2023-03-22 01:43:12 +00:00
    Commented Mar 22, 2023 at 1:43
  • @NickstandswithUkraine Thanks. My meta search foo is not strong enough.
    Bergi
    –  Bergi
    2023-03-22 01:51:25 +00:00
    Commented Mar 22, 2023 at 1:51
  • Also Code snippet comments in code formatting break the formatting of the post on MSE. TLDR is that snippets and code blocks don't play well together.
    Henry Ecker
    –  Henry Ecker Mod
    2023-03-22 01:53:04 +00:00
    Commented Mar 22, 2023 at 1:53

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.