Skip to content

Commit

Permalink
Fix(web-twig): Tooltip raw id attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
janicekt committed Aug 22, 2022
1 parent bdf6936 commit 8b47290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div
{{ mainProps(_mainPropsWithoutId) }}
{{ classProp(_classNames) }}
{{ _idAttr }}
{{ _idAttr | raw }}
>
{% block content %}{% endblock %}
{% if _isDismissible == 'true' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<html><body>
<div class="Tooltip Tooltip--right Tooltip--dismissible" id='"my-tooltip"'>
<div class="Tooltip Tooltip--right Tooltip--dismissible" id="my-tooltip">
Hello there!
<button type="button" class="Tooltip__close" data-dismiss="tooltip" data-target="#my-tooltip" aria-controls="my-tooltip" aria-expanded="true">
<span class="accessibility-hidden">Close</span>
Expand Down

0 comments on commit 8b47290

Please sign in to comment.