Skip to content

Genesys dice render html in sidebar dice tray #370

Open
@themensch

Description

@themensch

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

The dice results should render in the tray using the font, or the tally, but not raw html.

Current behaviour

When I use the inline dice roller for Genesys dice, e.g. dice Gg, the results work great in the note (thanks!) but in the sidebar dice tray, it renders in raw html:

1 <span style="font-family: Genesys; font-weight: normal;">s</span>, 1 <span style="font-family: Genesys; font-weight:
normal;">a</span>

When I copy the output using the built-in copy icon, it renders thus:

**Totals**
Successes: 1
Failures: 0
Advantages: 1
Threats: 0
Triumphs: 0
Despairs: 0

Reproduction

  1. Open Obsidian
  2. Install Dice Roller Plugin
  3. Enable Dice Roller Plugin
  4. Enable Narrative Dice
  5. Select Genesys-flavored narrative dice
  6. Create a new note
  7. Input a dice formula, e.g. dice: Gg
  8. Open the right sidebar
  9. Observe the results in the dice roller tab

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

Obsidian v 1.8.7 (installer 1.8.4)

Plugin Version

11.4.1

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions