Skip to content

Tildes are automatically interpreted as strikethrough when using parts provider #986

@vtx22

Description

@vtx22

Describe the bug
When importing parts through a parts provider API like LCSC, tilde chars (~) in the description are automatically interpreted as strikethrough start/end. For me at least, this is not the desired behaviour as the tildes signal a voltage range for example.

To Reproduce
Steps to reproduce the behavior:

  1. Load a part using the LCSC API that has two or more ~ symbols in the description text, for example TPS61288LRQQR
  2. Save the part without manual edits of the description
  3. Observe the text between the ~ shown as strikethrough with red highlighting

Expected behavior
Description without the text between the tildes being formatted as strikethrough

Screenshots

Image

Server Side

  • Part-DB Version: 1.17.2

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Firefox
  • Version 141.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions