Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Crash with special characters #3

Open
Pitasi opened this issue Sep 10, 2017 · 0 comments
Open

Crash with special characters #3

Pitasi opened this issue Sep 10, 2017 · 0 comments

Comments

@Pitasi
Copy link

Pitasi commented Sep 10, 2017

Hi there, I just wanted to report a bug that happens when some special characters are used. In my case, I think the bad characters are some emojis I used in my book.

From the javascript console:
Cannot read property 'tf' of undefined

Adding this to book.json fixed the problem.

{
    "pluginsConfig": {
        "lunr": {
            "ignoreSpecialCharacters": true
        }
    }
}
mfelsche pushed a commit to mfelsche/pony-tutorial that referenced this issue Sep 27, 2017
this is a workaround for GitbookIO/plugin-lunr#3
but the resulting behaviour of search is nor yet clear.
mfelsche pushed a commit to mfelsche/pony-tutorial that referenced this issue Sep 27, 2017
this is a workaround for GitbookIO/plugin-lunr#3
but the resulting behaviour of search is nor yet clear.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant