Skip to content

[Bug] Incorrect display of oxidation numbers when using Roman numbers in superscript #36

@svanterwingen

Description

@svanterwingen

Describe the bug
When using Roman numerals as superscripts to denote oxidation states, there is a weird behavior which puts a "+" in string mode, but not in content mode:

Image

To Reproduce

#ce("Cu^II") vs. #ce[Cu^II]

Expected behavior

In both cases there should not be a '+' placed.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • Editor: typst.app
  • LSP: web app
  • Typst version: 0.14.2
  • Typsium version: 0.3.1

Additional context
Please feel free to add any other context about the problem here.

Metadata

Metadata

Assignees

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