Skip to content

Commit

Permalink
MDL-80246 tiny_equation: Escape elementid in the data-target attribute
Browse files Browse the repository at this point in the history
Tabs use the value of the data-target attribute of the active tab link
to find and display the appropriate tab content. In some situations the
elementid value that is used to generate the data-target may contain
certain characters that have a special meaning in the selector context
(e.g. ".", ",", "#") and because of that the target element cannot be
correctly identified. To fix this problem the elementid value needs to
be escaped prior to generating the data-target attribute.
  • Loading branch information
Mihail Geshoski committed Dec 8, 2023
1 parent a891866 commit e1ed403
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/editor/tiny/plugins/equation/amd/build/ui.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e1ed403

Please sign in to comment.