javalent / fantasy-statblocks

Create Dungeons and Dragons style statblocks for Obsidian.md
MIT License
341 stars 71 forks source link

🐞 Statblock rendering issues of spaces and hitpoints #331

Closed ElifCase closed 6 months ago

ElifCase commented 7 months ago

Check for existing bug reports before submitting.

Expected Behavior

When rendering a statblock, the

Current behaviour

When rendering a statblock, the

Reproduction

  1. Launch Obsidian Sandbox via the obsidian Sandbox command
  2. Install & enable Fantasy Statblocks
  3. Create a new note, paste statblock into it
  4. Add local links to the note
name: Paladin (Tier 1)
size: Medium
type: humanoid
subtype: (any race)
alignment: depends on Party
ac: 16 ([[Start Here#I’m interested in Obsidian|Armor]], [[Start Here#Official Help Site|Shield]])
hp: 34
hit_dice: 4d10+12
speed: 30ft
stats: [16, 8, 16, 10, 13, 14]
saves:
  - STR: +0
  - WIS: +3
  - CHA: +4
skillsaves:
  - Athletics: +5
senses: Passive Perception 11
languages: Celestial, Common
cr: 2
spells:
  - "The Paladin´s spellcasting ability is Charisma (spell save DC 12, +4 to hit with spell attacks). The paladin can cast the following spells:" 
  - 1/day: bless, command, shield of faith
traits:
  - name: Dueling
    desc: "When the paladin is wielding a melee weapon in one hand and no ther weapons, they gain a +2 bonus to damage rolls with that weapon (included in the longsword attack)"
actions:
  - name: Longsword
    desc: "Mellee Weapon Attack: +5 to hit, reach 5ft., one creature. Hit: 9 (1d8+5) slashing damage"

Which Operating Systems are you using?

Obsidian Version Check

1.5.3 and 1.4.16

Plugin Version

3.16.2

Confirmation

Possible solution

No response