[PR #706] [CLOSED] fix(markdown): destroy replaced block renderables #1504

Closed
opened 2026-03-14 09:40:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/706
Author: @simonklee
Created: 2/19/2026
Status: Closed

Base: mainHead: markdown-leak


📝 Commits (1)

  • 3cff18b fix(markdown): destroy replaced block renderables

📊 Changes

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

View changed files

📝 packages/core/src/renderables/Markdown.ts (+6 -0)

📄 Description

remove() detaches children from the layout tree but
does not free or clean. You need to destroy recursively.


🔄 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/anomalyco/opentui/pull/706 **Author:** [@simonklee](https://github.com/simonklee) **Created:** 2/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `markdown-leak` --- ### 📝 Commits (1) - [`3cff18b`](https://github.com/anomalyco/opentui/commit/3cff18b98c6d6623eeaf14c364da33c3c98f6cb6) fix(markdown): destroy replaced block renderables ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderables/Markdown.ts` (+6 -0) </details> ### 📄 Description `remove()` detaches children from the layout tree but does not free or clean. You need to destroy recursively. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:40:20 +03: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
starred/opentui#1504
No description provided.