Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process html special character for tooltips and command's value #2185

Merged
merged 1 commit into from Mar 25, 2023
Merged

Process html special character for tooltips and command's value #2185

merged 1 commit into from Mar 25, 2023

Conversation

jpty
Copy link
Contributor

@jpty jpty commented Mar 25, 2023

Proposed change

Type of change

  • 3rd party lib update
  • Bugfix (non breaking change)
  • Core new feature
  • UI new functionnality
  • Code quality improvements
  • Core documentation

Test check

When the value of a command is displayed in the command list of an equipment(tooltip and status column), the value is processed in plugin.template.js
with:
data.cmd[i].state = String(data.cmd[i].state).replace(/<[^>]*>?/gm, '');
In the Advanced configuration of the equipment, the value was not processed in modal/eqLogic.configure.php.
$value = $cmd->execCmd();
Description of this issue can be found here:
Community

Documentation

beta-testing
contribute
community
plugins

@zoic21 zoic21 merged commit 1c9ff80 into jeedom:alpha Mar 25, 2023
@jpty jpty deleted the patch-1 branch March 25, 2023 16:41
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.

None yet

2 participants