Skip to content

exportJson: trim final newline from "replace": key#11

Open
tripleee wants to merge 1 commit into
matheusfaustino:masterfrom
tripleee:trim-key-newline
Open

exportJson: trim final newline from "replace": key#11
tripleee wants to merge 1 commit into
matheusfaustino:masterfrom
tripleee:trim-key-newline

Conversation

@tripleee

Copy link
Copy Markdown

Attempts to fix the error in the export function which causes it to add a literal newline to the end of each key.

(I know next to nothing about Javascript, and I don't know how to test this; but hopefully at least it will help figure out how to fix this.)

matheusfaustino added a commit that referenced this pull request May 16, 2026
contentEditable cells emit innerText with a trailing newline; trim()
removed all surrounding whitespace, dropping intentional spaces. Now
only line breaks are stripped (issue #11).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant