Forward Slash Incorrectly Escaped to HTML Entity in Text
Describe the bug
Forward slash / in action-pushed content incorrectly escaped as & # x2 F; Description: When pushing text containing forward slashes (e.g., "5元/升") through the action system, the output erroneously converts / to the HTML entity /. This causes the displayed text to appear as "5元/ ;升" instead of the original "5元/升".
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Example Flow
[
{
"id": "aa196d160e460973",
"type": "inject",
"z": "94b997b0.bd4498",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 12 * * *",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "////////////",
"payloadType": "str",
"x": 1320,
"y": 300,
"wires": [
[
"7cdb57778d3d2c5a"
]
]
}
]
Environment Information
Version: 0.77.0
Home Assistant version: 2025.6.1 Companion version: 4.1.2
Node-RED version: 4.0.9 Docker: yes Add-on: no
Node.js version: v20.19.0 x64 linux OS: Linux 4.4.302+ x64
Additional context
No response
Your exported flow only contains an Inject node. Are you using a Home Assistant node when the issue occurs?
yes
发自我的iPhone
------------------ Original ------------------ From: Jason @.> Date: Sun,Jun 22,2025 0:18 PM To: zachowj/node-red-contrib-home-assistant-websocket @.> Cc: aiqienanguatou @.>, Author @.> Subject: Re: [zachowj/node-red-contrib-home-assistant-websocket] Forward SlashIncorrectly Escaped to HTML Entity in Text (Issue #1819)
zachowj left a comment (zachowj/node-red-contrib-home-assistant-websocket#1819)
Your exported flow only contains an Inject node. Are you using a Home Assistant node when the issue occurs?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
You didn’t export your full flow.
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.