Skip to content

Parameter units in part details not LaTeX #856

@Volkerti

Description

@Volkerti

Describe the bug
When looking at Part details, the parameter units are not shown in KaTeX / LaTeX formatting.

To Reproduce

  1. Create a part or edit an existing part parameter. For a resistor a common parameter is resistance in Ohms, the Greek Omega symbol.
  2. as unit enter "\Omega", as per KaTeX documentation in Tips&Tricks: https://katex.org/docs/supported.html
  3. save the changes and return to normal part view mode
  4. the unit for this parameter in column 'Value' is shown as '\Omega', not nicely in italics Serife font greek symbol.
  5. the 'Parameter' column shows it correctly with subscripts, etc.

Expected behavior
The screen should display the special character Omega instead of '\Omega'.

Screenshots
Image

Image

Server Side

  • Part-DB Version: Part-DB 1.15.1
  • PHP Version: PHP 8.3.15
  • Database Server: 10.11.6-MariaDB

Additional context
Part-DB is running in a docker container on a Synology Diskstation.

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