DWilliames / google-sheets-sync-figma

82 stars 8 forks source link

Sync fails when a "->" is present in a parent nodes' name #116

Open KaiMagnusMueller opened 2 years ago

KaiMagnusMueller commented 2 years ago

Describe the bug Given a text field named "#Text" that is supposed to be synced, the sync will fail if at least one parent node has a "->" arrow in its name.

To Reproduce

  1. Set up a text field to sync, e.g. name it "#Test"
  2. Place it in a frame
  3. Rename the frame to "->"
  4. Sync

Test Sheet Figma File, with additional tests

Bildschirmfoto 2022-06-13 um 12 33 47

Expected behavior Sync as expected

Additional context https://rsms.me/inter/#features/case This problem might be related to Figma's UI font Inter and its support for ligatures. I tested it with other arrow combinations, such as <-, --> , <--, etc.. However, all of them work as expected.