Trello is incorrectly modifying code blocks containing certain text patterns, resulting in invalid code.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: Card - Editor
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      This is reproducible on Data Center: (yes)

      Trello's markdown parser is altering code blocks, which should remain unchanged. This is particularly evident with certain comment structures or annotations within the code.

      Steps to Reproduce

      Create a comment or description with text

      ```
      /**
      * some text
      *
      * @param string $foo
      * @return bool
      */
      ```
      

      It will incorrectly modify the code block resulting in invalid code.

      Expected Results

      The content within the code block should remain unchanged, preserving the original text and formatting.

      Actual Results

      The Trello markdown parser incorrectly modifies the code block, altering its content and potentially breaking the code.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Erick Doerre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: