# Pinegrow keep changing new rows between saves

**URL:** https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478
**Category:** Bug Reports
**Created:** [April 8, 2022, 8:11am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478 "2022-04-08T08:11:52Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [April 8, 2022, 8:11am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/1 "2022-04-08T08:11:52Z")

</div>

Pinegrow keeps adding and removing new rows in the HTML structure all over a document at the smallest change somewhere in the document. And it’s removing lines in one place and adding on another place, and the next time you do a change in that document it changes the rows back, flipping the different changes.

So every time I get many “changes” in a document when committing it, often I only change a really small detail somewhere. And when using the Visual Studio Code compare feature you can no longer find the small changes, as the whole document is indicated that it has changed everywhere.

And if someone else in the team tries to see what’s changed, forget it!

I like auto formating, but why aren’t the rules of the auto formatting not consistent. Why are new lines added and removed all over a document that was autoformatted previously one way?

In this screenshot, I can’t even find my change, what has changed? All these changes are done by auto formating. And the next time this file is updated in pinegrow the new lines will be removed or added again.

 ![Screenshot at Apr 08 10-03-29](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/8/8d1f1517df3d048b32673f970efcbfaefc504ce1.png)

I understand I can turn off Auto formatting, but I like it and it keeps the document structure, but I guess I will have to turn it off as the inconstancies in the auto-formatting rules that switch between adding and removing lines at previously formatted places.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [April 8, 2022, 9:24am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/2 "2022-04-08T09:24:21Z")

</div>

Hi @BlackO,  
Do you think you could give us a few details for troubleshooting, please?  
What OS are you using?  
I’m assuming you are using the latest version of Pinegrow?  
Based on the screenshot, I’m guessing you are using VSC. I’m also assuming that the problem is occuring while you are using the extension to connect with Pinegrow?  
Are you using any code prettifier extension on the VSC side?  
Thanks,  
Bob

---

<div class="post-metadata">

### Author: ![schpengle](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/schpengle/32/238_2.png) [@schpengle](https://forum.pinegrow.com/u/schpengle)
#### Post date: [April 10, 2022, 6:45am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/3 "2022-04-10T06:45:01Z")

</div>

VSC auto save enabled?

---

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [April 11, 2022, 9:22am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/4 "2022-04-11T09:22:30Z")

</div>

@RobM  
MacOS 12.2.1  
Pinegrow 6.4  
I don’t use any VCS/Pinegrow extension.  
I’m not editing any files in VCS, just using it to handle git.  
I haven’t installed any VCS prettifier.

@schpengle  
Not editing anything in VSC, just using it to handle Git.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [April 11, 2022, 9:39am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/5 "2022-04-11T09:39:08Z")

</div>

Hi @BlackO,  
Can you help me with the workflow? I just want to repeat the difficulty you are having.  
Here is my guess.

1. You open the project in Pinegrow, make changes to a file and save.
2. Then you open the Project in VCS and make Git additions.

The question is, do you then close VCS?  
Cheers,  
Bob

---

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [April 11, 2022, 10:01am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/6 "2022-04-11T10:01:11Z")

</div>

1: yes  
2: Yes, I just use VCS to push/pull to resolve conflicts with other developers.

Problem now:  
A developer looks at the frontend code that I made to see what’s changed in a page that they are building in a CMS, like Umbraco. They can’t see the small change I made to the Bootstrap part of the page (just adding or removing a BS class on an element) as it looks like there are a lot of changes. And I have to manually tell them about where the same change has been made, or I have to go into Umbraco and do the change to the page type myself as I know where the small change is.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [April 11, 2022, 10:22am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/7 "2022-04-11T10:22:41Z")

</div>

I’m not familiar with Umbraco at all. What do you mean by:

> [@BlackO](#):
>
> They can’t see the small change I made

There is no change to their Page View. Or…  
I’m having troubles replicating your problem. Can you reduce it down to something simple I can reproduce on my end? Such as, open this template, commit to git, make the following changes, save, commit to git-problem.  
Does the problem only occur when someone pulls changes back from the repo?  
Thanks,  
Bob

---

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [April 11, 2022, 12:14pm UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/8 "2022-04-11T12:14:23Z")

</div>

> [@BlackO](#):
>
> I haven’t installed any VCS prettifier.

To be honest, I didn’t even know VCS could install these, that’s why I said no, let alone that they have some activated as default.  
So now I have deactivated all formating features in VCS för HTML/CSS/SCSS files.

We will see if this helps. But I guess it has to be disabled for everyone working on the project? When they open the file to see changes, VCS will automatically “prettify” the code differently than how it was generated in Pinegrow and show more changes than the “small one” in my example?.

I hope this is the solution and that the line break changes will stop.

If this is it, I’m sorry if I wasted your time…

---

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [April 12, 2022, 4:33pm UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/9 "2022-04-12T16:33:36Z")

</div>

After disabling the VCS features, and then activating the Pinegrow “Auto-format HTML code” I’m back to having the flip flop new row changes.  
It’s happening a lot in the header, where I have a menu that’s in the “master”.  
I really like the “Auto-format HTML code” but this behavior that one small change on a page results in git changes on 30-40 rows is not working.  
I have marked the only actual changes in this document below. All the rest on screen is just removed or added lines.

 ![Screenshot at Apr 12 18-30-28](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/e/e4b94af3422a121f945f0e205a540c9addacfdcf.jpeg)

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [April 12, 2022, 5:53pm UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/10 "2022-04-12T17:53:21Z")

</div>

Hi @BlackO,  
I’m struggling to replicate your problem. Can you let me know the exact steps that occurred before you took the screenshot? I believe you that a problem is occurring as documented by the images, but I can’t replicate the problem to better troubleshoot.  
Thanks,  
Bob

---

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [May 2, 2022, 9:45am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/11 "2022-05-02T09:45:34Z")

</div>

Sorry for the radio silence, I have been focusing on my actual work, but now I got a big “in my face” issue with this that I have to share.

I re-opened a file I have been working on recently and did a small change. And the whole document changed. ☹

 ![schange-all-over](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/2c211ca8183072861ca77a5d9b74425505c5287a.jpeg)

And because new users can’t post more than one media file per post I have to do multiple posts.

---

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [May 2, 2022, 9:46am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/12 "2022-05-02T09:46:16Z")

</div>

So I reverted the document, turned off the Pinegrow Auto-format HMTL feature, and did the same change.

 ![schange-on-on-row](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/52318b5784e7a2d153c1b540a4340604e8a9ff02.png)

---

<div class="post-metadata">

### Author: ![BlackO](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BlackO](https://forum.pinegrow.com/u/BlackO)
#### Post date: [May 2, 2022, 9:47am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/13 "2022-05-02T09:47:17Z")

</div>

Here is an example of inconsistent behavior. On one row the “icon” has been returned from a separate row to the row above, on the next the “Icon” has been moved to a new separate row.

 ![inconsistent-behavior](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/b/b9e63f20e27d90b7d2ef46decda6ccfa0c8d7a62.png)

I don’t know if has to do with me using Components and Master Pages, but I will have to live without the “Autoformat HTML feature.”

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [May 2, 2022, 10:05am UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/14 "2022-05-02T10:05:05Z")

</div>

Hi @BlackO,  
For your first new post, how was the document created/edited before you made the change in Pinegrow?  
Thanks,  
Bob

---

<div class="post-metadata">

### Author: ![fakesamgregory](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/fakesamgregory/32/3903_2.png) [@fakesamgregory](https://forum.pinegrow.com/u/fakesamgregory)
#### Post date: [May 4, 2022, 4:17pm UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/15 "2022-05-04T16:17:33Z")

</div>

@BlackO OMG, I’m literally having a nightmare with this too! I was going to start another thread. Especially when I manage Git even slightly poorly. I’m getting changes on the most insignificant lines.

@RobM my entire project has been created in Pinegrow although small changes may have been done in VS code but I’m currently running into very similar lines highlighted as changes often and causing ‘conflicts’ in git, even though I hadn’t changed them.

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [May 4, 2022, 6:15pm UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/16 "2022-05-04T18:15:54Z")

</div>

Hi @fakesamgregory,  
Do the row changes always happen near to a `<i>` element?  
Thanks,  
Bob

---

<div class="post-metadata">

### Author: ![fakesamgregory](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/fakesamgregory/32/3903_2.png) [@fakesamgregory](https://forum.pinegrow.com/u/fakesamgregory)
#### Post date: [May 5, 2022, 4:07pm UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/17 "2022-05-05T16:07:24Z")

</div>

@RobM unfortunately not for me

---

<div class="post-metadata">

### Author: ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)
#### Post date: [May 5, 2022, 4:34pm UTC](https://forum.pinegrow.com/t/pinegrow-keep-changing-new-rows-between-saves/6478/18 "2022-05-05T16:34:08Z")

</div>

Any consistency? We haven’t gotten a lot of feedback to trouble-sho0t/recreate the problem.
