Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 Odd rendering bug when links contain a plus sign that dice roller wants to integrate #444

Open
3 of 7 tasks
scooper4711 opened this issue Aug 9, 2024 · 0 comments
Open
3 of 7 tasks

Comments

@scooper4711
Copy link
Contributor

scooper4711 commented Aug 9, 2024

Check for existing bug reports before submitting.

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

Expected Behavior

Expected to display the desc, including the +1

Current behaviour

I have an odd issue when converting from pathbuilder to fantasy statblocks.
Pathbuilder exports armor runes as "Armor Potency +1". The item, as exported from Foundry, is named "Armor Potency (+1)"
That's all well and good. The link I make of [[Armor Potency +1]] will be broken until manually fixed.

However, the render looks very odd. It renders as "[render|noform|avg|noparen`)](app://obsidian.md/Armor%20Potency%20+1%20(%60dice:%201d20+1)"

I have tracked it down to the plus sign when "integrate with dice roller" is enabled. Exclude the plus sign, add parenthesis, or disable dice roller integration and it works.

Reproduction

With this stat block

layout: Basic Pathfinder 2e Layout
name: "Armor Bug"
level: "Fighter 7"
abilities_top:
  - name: Items
    desc: " 1x [[Armor Potency +1]]"

The render looks like this:
image

Which Operating Systems are you using?

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

Obsidian Version Check

1.6.7 and 1.6.5

Plugin Version

4.6.0

Confirmation

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

Possible solution

fix the link to have parenthesis.

layout: Basic Pathfinder 2e Layout
name: "Armor Bug"
level: "Fighter 7"
abilities_top:
  - name: Items
    desc: " 1x [[Armor Potency (+1)]]"
@scooper4711 scooper4711 changed the title 🐞 Odd rendering bug when + is in the desc. 🐞 Odd rendering bug when links contain a plus sign that dice roller wants to integrate Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant