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

Content Extract containing UL / OL being displayed in a bad way #25

Open
janwidmer opened this issue Jan 7, 2016 · 0 comments
Open

Comments

@janwidmer
Copy link

Hi There,

I am using the simple search addon and so far it works great. However, when I have a content page having an UL / OL list in my text and the search term is within one of the li's, the extract of the search result is being displayed quite ugly.

image

The Problem seems to be, that all html tags are just being stripped out and the li's are just inserted as normal text, but without spaces in between.

Any idea how to prevent / fix that?

matdave pushed a commit that referenced this issue Jul 25, 2022
FIX: Bad characters in extract due to preg_replace with php 7.0 and l…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant