Code block parser removes tab indentations

(#148) Bug Needs triage markdown

Summary

If the copy pasted code that used tabs for indentation instead of spaces, the tabs are completely removed, therefore removing all indentation.

Steps to reproduce

  1. Start code block with ```
  2. On next line copy paste in code that contains tabs for indentation
  3. end code block on next line.
  4. send message

Logs or screenshots (optional)

image image
  • 550786862-235b737c-7665-4c2f-a95d-a49c367651cc.png

    550786862-235b737c-7665-4c2f-a95d-a49c367651cc.png

    828×395 | 62 kB

  • 550787090-bae8f2c7-e61c-48e5-8689-716cb0d13451.png

    550787090-bae8f2c7-e61c-48e5-8689-716cb0d13451.png

    983×290 | 48 kB

1 comment

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote edited
Status changed from Fixed to Needs triage
Reopened for review.