javalent / dice-roller

Inline dice rolling for Obsidian.md
274 stars 28 forks source link

🐞 regression - table rollers - lookup table #331

Closed tyrcho closed 2 months ago

tyrcho commented 2 months ago

Check for existing bug reports before submitting.

Expected Behavior

Using a lookup table should return an entry

Current behaviour

No text is returned

image

Reproduction

Here is a simplified markdown file which reproduces the issue :

dice: [](Debug.md#^bete)

dice: 1d10 Bête
1-7 dice: [](Debug^terrestre)
8-10 dice: [](Debug.md#^aerien)

^bete

Terrestre
puce
tique
pou
escargot

^terrestre

Aérien
moustique
luciole
sauterelle
libellule

^aerien

Which Operating Systems are you using?

Obsidian Version Check

1.6.7 and 1.4.13

Plugin Version

11.2.0

Confirmation

Possible solution

This used to work before I update. On my android phone I'm on 11.0.4 and the same file behaves as expected.

tyrcho commented 2 months ago

Note that this 3 strings work as expected

dice: [](Debug.md^terrestre)

dice: [](Debug^terrestre)

dice: [](Debug.md#^terrestre)

tyrcho commented 2 months ago

I also tried to replace the lookup table definition, removing the dice column, with no effect

Bête
dice: [](Debug.md^terrestre)
dice: [](Debug.md^aerien)

^bete

tyrcho commented 2 months ago

fixed with d8df63d27df6a6489436a40b6170e7c0f76569a6

xgdgsc commented 2 months ago

In my case , template using dice-mod not work while dice works.

xgdgsc commented 2 months ago

I have to return to 11.0.5.