[PR #1758] [MERGED] Fix: line terminator included in ver property in workflow #2052

Closed
opened 2026-10-28 21:06:41 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/1758
Author: @christian-byrne
Created: 4/18/2025
Status: ✅ Merged
Merged: 4/19/2025
Merged by: @ltdrdata

Base: main ← Head: fix-ver-string


📝 Commits (1)

  • d5cc645 trim version string embedded in workflow

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 js/workflow-metadata.js (+1 -1)

📄 Description

Somehow, a line terminator (\n) is getting included in the ver field of a node pack in the workflow reported by user here.

Workflow: Tagging.with.IF.Image.to.Prompt.json

I can't determine how it might have happened, but adding trim seems appropriate either way.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/1758 **Author:** [@christian-byrne](https://github.com/christian-byrne) **Created:** 4/18/2025 **Status:** ✅ Merged **Merged:** 4/19/2025 **Merged by:** [@ltdrdata](https://github.com/ltdrdata) **Base:** `main` ← **Head:** `fix-ver-string` --- ### 📝 Commits (1) - [`d5cc645`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/d5cc645528fba1cd74d9c2555fa3880834cd2fdb) trim version string embedded in workflow ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `js/workflow-metadata.js` (+1 -1) </details> ### 📄 Description Somehow, a line terminator (`\n`) is getting included in the `ver` field of a node pack in the workflow reported by user [here](https://github.com/comfyanonymous/ComfyUI/issues/7309#issuecomment-2814403190). Workflow: [Tagging.with.IF.Image.to.Prompt.json](https://github.com/user-attachments/files/19808328/Tagging.with.IF.Image.to.Prompt.json) I can't determine how it might have happened, but adding `trim` seems appropriate either way. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-28 21:06:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#2052
No description provided.