Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Formatting of search results? #17

Open
kohlerm opened this issue Nov 25, 2016 · 1 comment
Open

Formatting of search results? #17

kohlerm opened this issue Nov 25, 2016 · 1 comment

Comments

@kohlerm
Copy link

kohlerm commented Nov 25, 2016

I'm trying to use caddy (0.9.4) to provide a full text search for a hugo generated site. I've got the search plugin working with my pages but the result formatting does not seem to work.
When searching for "test" for example I get results like this :

You can <mark>test</mark> whether it works by running</p>

E.g html tags, and the mark tag.
I could not figure out whether this is a caddy issue or an issue of the plugin. The documentation is talking about a template that can be specified for formatting, but I couldn't get this to work.

Any hints?

@kohlerm
Copy link
Author

kohlerm commented Nov 25, 2016

Ok, found it, it is basically the same as issue #13 .
see my fork here https://github.com/kohlerm/caddy-search/ for a solution (not sure how safe it is)

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