Skip to main content
edited tags
Link
edited tags
Link
added 10 characters in body
Source Link
mplungjan
  • 177.1k
  • 20
  • 26

To reproduce

Replace indented code with snippet in a question withwhich has more explanation after the code

Expected result

Snippet replaces code

Actual result (in latest Chrome at least)

Snippet replaces code AND some of the text after the code - unless 3 empty lines before the text

Example (NITPICKERS: Yes it is not supposed to be in a snippet but shows the issue)

  1. Original question enter image description here
  2. Highlighting and cutting code enter image description here
  3. After inserting snippet enter image description here

To reproduce

Replace indented code with snippet in a question with explanation after the code

Expected result

Snippet replaces code

Actual result (in latest Chrome at least)

Snippet replaces code AND some of the text after the code - unless 3 empty lines before the text

Example (NITPICKERS: Yes it is not supposed to be in a snippet but shows the issue)

  1. Original question enter image description here
  2. Highlighting and cutting code enter image description here
  3. After inserting snippet enter image description here

To reproduce

Replace indented code with snippet in a question which has more explanation after the code

Expected result

Snippet replaces code

Actual result (in latest Chrome at least)

Snippet replaces code AND some of the text after the code - unless 3 empty lines before the text

Example (NITPICKERS: Yes it is not supposed to be in a snippet but shows the issue)

  1. Original question enter image description here
  2. Highlighting and cutting code enter image description here
  3. After inserting snippet enter image description here
added 47 characters in body
Source Link
mplungjan
  • 177.1k
  • 20
  • 26
Loading
added 28 characters in body
Source Link
mplungjan
  • 177.1k
  • 20
  • 26
Loading
Source Link
mplungjan
  • 177.1k
  • 20
  • 26
Loading