[GH-ISSUE #20929] issue: Markdown Header Text Splitter is not persisted on database #34860

Closed
opened 2026-04-25 09:02:39 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @athoik on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20929

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.7.2

Ollama Version (if applicable)

No response

Operating System

Debian 12

Browser (if applicable)

Firefox 147

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

When saving Document settings, the Markdown Header Text Splitter must persist the value on database.

Actual Behavior

Changing the Markdown Header Text Splitter doesn't persist the value on database.
Always returned as enabled (true) although disabled (false) from the UI.

Steps to Reproduce

Navigate to Settings -> Documents, change Markdown Header Text Splitter setting to disabled, refresh page.

The Markdown Header Text Splitter is again enabled, ingoring user setting.

Logs & Screenshots

Request:

	"ENABLE_MARKDOWN_HEADER_TEXT_SPLITTER": false,
Image

Response:

Image
	"ENABLE_MARKDOWN_HEADER_TEXT_SPLITTER": true,

Additional Information

No response

Originally created by @athoik on GitHub (Jan 25, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/20929 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.7.2 ### Ollama Version (if applicable) _No response_ ### Operating System Debian 12 ### Browser (if applicable) Firefox 147 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior When saving Document settings, the *Markdown Header Text Splitter* must persist the value on database. ### Actual Behavior Changing the *Markdown Header Text Splitter* doesn't persist the value on database. Always returned as enabled (true) although disabled (false) from the UI. ### Steps to Reproduce Navigate to Settings -> Documents, change *Markdown Header Text Splitter* setting to disabled, refresh page. The *Markdown Header Text Splitter* is again enabled, ingoring user setting. ### Logs & Screenshots Request: ```json "ENABLE_MARKDOWN_HEADER_TEXT_SPLITTER": false, ``` <img width="1435" height="389" alt="Image" src="https://github.com/user-attachments/assets/8c9b7a77-b63b-435f-8e15-b2bcb5f1e4fc" /> Response: <img width="1109" height="333" alt="Image" src="https://github.com/user-attachments/assets/0b683c77-7f4d-4f7f-9a02-1a04f50b3eba" /> ```json "ENABLE_MARKDOWN_HEADER_TEXT_SPLITTER": true, ``` ### Additional Information _No response_
GiteaMirror added the bugconfirmed issue labels 2026-04-25 09:02:39 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (Jan 25, 2026):

🔍 Similar Issues Found

I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:

  1. #20417 issue: Preceding character incorrectly deleted when typing Markdown inline code
    by July791 • Jan 06, 2026 • bug

  2. #20632 issue: Inconsistent behavior when editing section breaks.
    by jdwx • Jan 13, 2026 • bug

  3. #20218 issue: Broken markdown checklist
    by opa-oz • Dec 28, 2025 • bug


💡 Tips:

  • If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
  • If you found a solution in any of these issues, please share it here to help others

This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.

<!-- gh-comment-id:3796747062 --> @owui-terminator[bot] commented on GitHub (Jan 25, 2026): 🔍 **Similar Issues Found** I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions: 1. [#20417](https://github.com/open-webui/open-webui/issues/20417) **issue: Preceding character incorrectly deleted when typing Markdown inline code** *by July791 • Jan 06, 2026 • `bug`* 2. [#20632](https://github.com/open-webui/open-webui/issues/20632) **issue: Inconsistent behavior when editing section breaks.** *by jdwx • Jan 13, 2026 • `bug`* 3. [#20218](https://github.com/open-webui/open-webui/issues/20218) **issue: Broken markdown checklist** *by opa-oz • Dec 28, 2025 • `bug`* --- 💡 **Tips:** - If this is a duplicate, please consider closing this issue and adding any additional details to the existing one - If you found a solution in any of these issues, please share it here to help others *This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
Author
Owner

@Classic298 commented on GitHub (Jan 25, 2026):

Good catch! Whipping up a fix.

<!-- gh-comment-id:3796795446 --> @Classic298 commented on GitHub (Jan 25, 2026): Good catch! Whipping up a fix.
Author
Owner

@Classic298 commented on GitHub (Jan 25, 2026):

https://github.com/open-webui/open-webui/pull/20930

<!-- gh-comment-id:3796796483 --> @Classic298 commented on GitHub (Jan 25, 2026): https://github.com/open-webui/open-webui/pull/20930
Author
Owner

@silentoplayz commented on GitHub (Jan 25, 2026):

I have confirmed this issue exists on the latest dev branch. I'll test to see if #20930 solves it as expected.

<!-- gh-comment-id:3797412690 --> @silentoplayz commented on GitHub (Jan 25, 2026): I have confirmed this issue exists on the latest `dev` branch. I'll test to see if #20930 solves it as expected.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34860