Skip to content

feat(StripTags): add Strip HTML Tags BoxSource - #467

Open
XiaoXiaoSN wants to merge 1 commit into
mainfrom
feat/boxsource-new-striptags
Open

feat(StripTags): add Strip HTML Tags BoxSource#467
XiaoXiaoSN wants to merge 1 commit into
mainfrom
feat/boxsource-new-striptags

Conversation

@XiaoXiaoSN

@XiaoXiaoSN XiaoXiaoSN commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Box Source: Strip HTML Tags (Transform)

Adds the Strip HTML Tags box source to Magic Box. It is disabled by default.

Details:

  • Category (Kind): Transform
  • Tag: #
  • Default Input: <p>Hello <b>world</b></p> ::striptags

Options:

  • ::striphtml, ::striptags

Description:

Remove HTML tags, returning the plain text content.

Usage Examples:

  • Input:
<p>Hello <b>world</b></p> ::striptags
  • Output Box (Strip HTML Tags):
Hello world

@XiaoXiaoSN

Copy link
Copy Markdown
Owner Author

Linting/testing failed on this branch.

Error details:

Please fix the linting and testing issues and ensure 'bun run lint' and 'bun test run' pass.

@XiaoXiaoSN

Copy link
Copy Markdown
Owner Author

Linting failed because imports in src/modules/boxSources/index.ts are not sorted. Please run 'bun run lint:fix' or sort the imports to fix this.

@XiaoXiaoSN
XiaoXiaoSN force-pushed the feat/boxsource-new-striptags branch from 0bd76c4 to 0e1f07e Compare June 26, 2026 08:19
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