Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not highlight when search in pre,code html tag #93

Open
zden2ksobotka opened this issue Mar 8, 2020 · 0 comments
Open

Not highlight when search in pre,code html tag #93

zden2ksobotka opened this issue Mar 8, 2020 · 0 comments
Labels

Comments

@zden2ksobotka
Copy link

zden2ksobotka commented Mar 8, 2020

Hello, I found strange behavior tntsearch plugin in Grav. I have default.md with code:

<pre><code>
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
30 *    * * *   www-data ( tmp=$(cd /var/www/wikiyyy.tld/ ; bin/plugin tntsearchindex > /dev/null) )
</code></pre>

<code><pre>
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
30 *    * * *   www-data ( tmp=$(cd /var/www/wikiyyy.tld/ ; bin/plugin tntsearchindex > /dev/null) )
</pre></code>

When I try to find text on a page, TNTSearch does not highlight the results as it should (in pre,code tree, in code,pre it's ok). But it should be in other tags also.

Screenshot_2020-03-08_16-09-25_1

Thanks. Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants