whelan / fvtt-merchant-sheet-npc

FVTT - Merchant Sheet NPC 5E
MIT License
12 stars 13 forks source link

Import from CSV Breaks when there are apostrophes in the item name or capitalization differences #139

Open cbprosser opened 2 years ago

cbprosser commented 2 years ago

Describe the bug When importing an item from csv, items such as "Pick, Miner's" cannot be matched to the corresponding item in the item compendium.

To Reproduce Steps to reproduce the behavior:

  1. Add a compendium item with an apostrophe in the name, such as "Pick, Miner's"
  2. Add a compendium item with a capitalized word, such as "Blowgun Needles"
  3. Attempt to add via CSV "Pick, Miner's"
  4. Attempt to add via CSV "Blowgun needle"
  5. Observe items are not matched

Expected behavior both items should be matched