Site with module Smart search published. Indexed.
Publish Article "Foo" with text "Foo bar foobarfoo".
Smart Search for the same text: "Foo bar foobarfoo"
"Foo bar foobarfoo" to be highlighted, as in other popular search engines - with changed text colors only .
"Foo bar foobarfoo" is highlighted, but with added spaces between words as in the following screenshot:
Devtools for the second word bar (EDIT: 'bar' inside 'foobarfoo'):
<mark data-markjs="true">
<mark data-markjs="true">
<mark data-markjs="true">
<mark data-markjs="true">
<mark data-markjs="true">
<mark data-markjs="true">
bar
</mark>
</mark>
</mark>
</mark>
</mark>
</mark>
Joomla 4.2.3
PHP 8.1
For larger articles text becomes almost unreadable.
Labels |
Added:
No Code Attached Yet
|
Looks like it is a highlighter bug, it should highlight a whole word, and only once, hm
Labels |
Added:
bug
|
I confirm this bug. Highlighted words are broken.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-10-05 11:16:05 |
Closed_By | ⇒ | Fedik |
Understood it is a mostly styling issue since the Cassiopeia template has padding which multiplies.
I can remove padding-left and padding-right,
But, nested marks remain...