Skip to content

Search results remove search string's diacritical marks  #1492

Description

@jhildenbiddle

Bug Report

(This issue was original discussed in #1434)

Search results are not displayed with their original diacritical marks. Notice in the screenshot below that the page contains the string "Let's go to café today". A search for "cafe" (no diacritical marks) matches "café" as it should, but the search result displayed under the search field shows the normalized version ("cafe") instead of the original text ("café").

image

Steps to reproduce

  1. Visit https://docsify.js.org (once feat: search ignore diacritical marks #1434 has been merged and released)
  2. Search for "café" (note the accented e)

What is current behaviour

Search results contain only "cafe" (without accented e)

What is the expected behaviour

Search results should contain exact match of search string "café" (with accented e)

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Browser version: All

  • Docsify version: 4.11.6

  • Docsify plugins: N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions