Skip to content

BUG: Pasted text is reformatted causing issues with asking about specific formatted text #84

@trinode

Description

@trinode

Describe the bug

Just to be clear the problem is that autoformatting is allowed, resulting in the app applying smart dashes and smart quotes to text, undesirable if wanting to deal with precise text. I have been able to turn off smart dashes system wide as a work around but that's degraded the experience in apps where those feature make sense.

I'm for example pasing an error for example when asking about a mermaid diagram:

text in clipboard:

Parse error on line 2
    CI_CD_Pipeline[CI/CD Pipeline] --> Staging_Blue[Staging (Blue Environment)]
                                                   ^

Then you can see it correctly formated for a fraction of a second before it converts the double hyphen to an emdash, and then the model points out mermaid diagrams shouldn't use emdashes but double hyphens instead of looking at the actual issue.

Text after pasting / auto formatting:


Parse error on line 2
    CI_CD_Pipeline[CI/CD Pipeline] —> Staging_Blue[Staging (Blue Environment)]

To Reproduce
Steps to reproduce the behavior:
paste the above text into the prompt box, notice the double hyphen has become an emdash

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Image

Desktop (please complete the following information):

  • OS: Tahoe 26.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions