SSWConsulting / SSWConsulting/SSW.Rules

🐛 Netlify CMS - Saving with Netlify generates backslashes

Open
#867 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
Dominant language
TypeScript
Stars
26
Forks
17
Avg merge
14h 39m
Merged PRs (30d)
2

Description

Cc: @adamcogan

UPDATE: Due to this bug and others (#801 #691) we are looking at moving from Netlify to [TinaCMS]
(https://tina.io)

See #930

Hi @bradystroud ,

Describe the Bug

Several backslashes are being generated by Netlify when editing rules.

E.g.: https://github.com/SSWConsulting/SSW.Rules.Content/pull/3352/files#diff-2a30d8ccedb58cb9303a5a1096e568370a0360ddb02ba4b3cfc139712305b2b3R48

Picture1

To Reproduce

Unclear when and why this happens, but surely caused by Netlify

  1. Edit a rule in Netlify
Expected Behavior

No slash / backslash generated when editing a rule on Netlify

Tasks
  • Investigate
  • Fix

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue by editing a rule in Netlify, then compare the generated changes with the linked example pull request. Done means identifying and fixing the cause of unwanted slash or backslash characters, but the issue provides no source file or test to guide the work.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.