You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2024/06/19 03:21:57 UTC
(echarts) branch fix/tooltip-xss updated (ad947d661 -> 62210761d)
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a change to branch fix/tooltip-xss
in repository https://gitbox.apache.org/repos/asf/echarts.git
from ad947d661 fix(tooltip): fix tooltip XSS issue when legend name is HTML string
add c1727a65f refactor(tooltip): add `encodeHTMLContent` option to specify whether the content should be encoded by default
add 62210761d test(tooltip): update test case for tooltip xss
No new revisions were added by this update.
Summary of changes:
src/component/tooltip/TooltipView.ts | 14 ++++++++++-
src/util/graphic.ts | 6 ++---
src/util/types.ts | 6 +++++
test/runTest/actions/__meta__.json | 2 +-
test/runTest/actions/tooltip.json | 2 +-
test/tooltip.html | 47 +++++++++++++++++++++++++++++-------
6 files changed, 61 insertions(+), 16 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org