[PR #11] [MERGED] Fix HTML parsing error by removing control characters #11

Closed
opened 2026-08-08 18:06:19 +00:00 by jahruz67 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jahruz67/wisp-open/pull/11
Author: @jahruz67
Created: 7/29/2026
Status: Merged
Merged: 7/29/2026
Merged by: @jahruz67

Base: mainHead: fix/html-parse-error


📝 Commits (2)

  • 83ef777 Fix HTML parsing error by removing control characters
  • 62e679d Fix transcriber.NewClient call: add missing MistralAPIKey parameter

📊 Changes

2 files changed (+4 additions, -3 deletions)

View changed files

📝 app.go (+1 -0)
📝 frontend/index.html (+3 -3)

📄 Description

Summary

  • Fix vite build error: Unable to parse HTML; parse5 error code control-character-in-input-stream

Changes

  • Replace \u0012 (Form Feed) control characters with > HTML entities on lines 106-107
  • Remove \u0013 (Carriage Return) control character on line 224
  • These control characters were causing the parse5 parser to fail during Vite build

Verification

  • All control characters have been removed from frontend/index.html
  • File now contains only valid, parseable HTML content

🔄 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/jahruz67/wisp-open/pull/11 **Author:** [@jahruz67](https://github.com/jahruz67) **Created:** 7/29/2026 **Status:** ✅ Merged **Merged:** 7/29/2026 **Merged by:** [@jahruz67](https://github.com/jahruz67) **Base:** `main` ← **Head:** `fix/html-parse-error` --- ### 📝 Commits (2) - [`83ef777`](https://github.com/jahruz67/wisp-open/commit/83ef777dc0e94a31354f00eebda0f5737c018939) Fix HTML parsing error by removing control characters - [`62e679d`](https://github.com/jahruz67/wisp-open/commit/62e679dc5690ae2e77ecb0f9b22520b2bc76d72e) Fix transcriber.NewClient call: add missing MistralAPIKey parameter ### 📊 Changes **2 files changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `app.go` (+1 -0) 📝 `frontend/index.html` (+3 -3) </details> ### 📄 Description ## Summary - Fix vite build error: Unable to parse HTML; parse5 error code control-character-in-input-stream ## Changes - Replace \u0012 (Form Feed) control characters with &gt; HTML entities on lines 106-107 - Remove \u0013 (Carriage Return) control character on line 224 - These control characters were causing the parse5 parser to fail during Vite build ## Verification - All control characters have been removed from frontend/index.html - File now contains only valid, parseable HTML content --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
jahruz67 added the pull-request label 2026-08-08 18:06:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jahruz67/wisp-open#11