AI Agent Hub
Back to plugins
🧰

dsh-html-escape

Web Tools Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install uckkk/dsh-html-escape

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install uckkk/dsh-html-escape in your terminal to install this plugin; source is available at https://github.com/uckkk/dsh-html-escape.

About this plugin

When building or parsing HTML fragments inside a session, unescaped characters like & " ' can silently break markup, and hand-rolling replacements is both tedious and error-prone. dsh-html-escape reduces that chore to a single tool call so you can focus on content rather than escaping logic.

The plugin ships two functions: html_escape, which converts & " ' into their named entities, and html_unescape, which reverses the process. The entire implementation is pure Node with zero external dependencies, so it loads instantly and needs no runtime configuration.

If your DSH workflow requires safely composing HTML attribute values, sanitising user-supplied text, or decoding entity-encoded strings, this lightweight drop-in gives you a ready-made character codec step to slot into your prompt chain.

Use Cases

  • Preventing special characters from breaking markup when generating HTML attributes in a session
  • Sanitising user-supplied text containing &, double-quote, or single-quote characters
  • Reverting HTML entity text back to raw readable characters

Best For

  • Developers safely composing HTML fragments inside DSH workflows
  • Automation pipelines that require escaping or unescaping user-supplied text
  • Prompt-engineering users who prefer lightweight, zero-dependency tooling