[PR #1734] [MERGED] fix: summary display #1816

Closed
opened 2026-02-22 18:08:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugins/pull/1734
Author: @crazywoola
Created: 12/16/2025
Status: Merged
Merged: 12/16/2025
Merged by: @crazywoola

Base: mainHead: chore/update-actions


📝 Commits (2)

📊 Changes

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

View changed files

📝 .github/workflows/pre-check-plugin.yaml (+11 -7)

📄 Description

This pull request improves the way plugin file contents are displayed in the workflow summary by ensuring HTML special characters are escaped and switching to HTML-based code blocks for better formatting.

Enhancements to workflow summary formatting:

  • Added an escape_html function to replace special HTML characters with their corresponding entities, preventing rendering issues when displaying file contents.
  • Modified append_file_content to use HTML <pre><code> blocks with language classes instead of markdown code fences, and ensured file contents are properly escaped using the new function.

🔄 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/langgenius/dify-plugins/pull/1734 **Author:** [@crazywoola](https://github.com/crazywoola) **Created:** 12/16/2025 **Status:** ✅ Merged **Merged:** 12/16/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `chore/update-actions` --- ### 📝 Commits (2) - [`2123dbc`](https://github.com/langgenius/dify-plugins/commit/2123dbc0f5ca07b9c7d9d6da2c55745784aa2289) fix: summary display - [`adfcfa9`](https://github.com/langgenius/dify-plugins/commit/adfcfa9a4f168fcf67194bbe4d35c64cc6a39c5e) fix: styles ### 📊 Changes **1 file changed** (+11 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pre-check-plugin.yaml` (+11 -7) </details> ### 📄 Description This pull request improves the way plugin file contents are displayed in the workflow summary by ensuring HTML special characters are escaped and switching to HTML-based code blocks for better formatting. **Enhancements to workflow summary formatting:** * Added an `escape_html` function to replace special HTML characters with their corresponding entities, preventing rendering issues when displaying file contents. * Modified `append_file_content` to use HTML `<pre><code>` blocks with language classes instead of markdown code fences, and ensured file contents are properly escaped using the new function. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:08:35 -05:00
yindo closed this issue 2026-02-22 18:08:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#1816