Skip to content

Commit ce50827

Browse files
Haroenvsarahdayan
authored andcommitted
feat(highlight): change default tag (#80)
1 parent ef0606c commit ce50827

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/instantsearch-specs/content/widgets/highlight.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Highlight
33
type: widget
44
html: |
5-
<span class="ais-Highlight"><span class="ais-Highlight-nonHighlighted">This is the</span> <em class="ais-Highlight-highlighted">highlighted text</em></span>
5+
<span class="ais-Highlight"><span class="ais-Highlight-nonHighlighted">This is the</span> <mark class="ais-Highlight-highlighted">highlighted text</mark></span>
66
classes:
77
- name: .ais-Highlight
88
description: the root span of the widget
@@ -12,6 +12,6 @@ classes:
1212
description: the normal text
1313
options:
1414
- name: highlightTag
15-
default: em
15+
default: mark
1616
description: DOM tag to use for the highlighted parts, in addition to the classes
1717
---

0 commit comments

Comments
 (0)