hughbris / grav-plugin-pushy

Push with Git to publish changes to your production environment
MIT License
3 stars 1 forks source link

Errors displaying and committing filenames containing space #32

Open hughbris opened 9 months ago

hughbris commented 9 months ago

The list of changes displayed by Pushy is misaligned when it includes filenames with spaces. Attempting to submit the file for publication is unsuccessful.

Before adding the file:

image

Layout after adding it:

image

The "table" layout markup is:

<div id="list">
<div class="header select-all"> .... </div>
...
<div class="select">...</div>
<div class="status">New</div>
<div class="edit">...</div>
<div class="select">...</div>
<div class="status">Deleted</div>
<div class="path">....</div>
<div class="edit">...</div>
...

(The .path div element is missing, which will be screwing the layout.)

Selecting and attempting to publish the file with the spaces shows:

image

Log shows:

[CRITICAL] The path at '"pages/02.typography/my new image.jpg"' does not represent a valid file.