You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the bottom of the page there's indication that it was using your software package. Hence I'm reporting the problem directly to you, in the hope that future editions of the software will avoid the problem.
I was able to replicate the problem by adding an ampersand to a title of a markdown document. I don't know if removing the escapeHtml() around title is the answer, but it's an answer.
I see that the search result is getting formatted as if it's getting inserted directly into HTML with escapes, but is the formatResult() necessary for title and summary if it's putting the escape code in the document?
Activity
theoneGUI commentedon Jun 30, 2023
It looks like this is the offending line. I'm new here, so I don't know the ins and outs of the program.
mkdocs/mkdocs/contrib/search/templates/search/main.js
Line 32 in 25f4ea1
I was able to replicate the problem by adding an ampersand to a title of a markdown document. I don't know if removing the
escapeHtml()aroundtitleis the answer, but it's an answer.I see that the search result is getting formatted as if it's getting inserted directly into HTML with escapes, but is the
formatResult()necessary fortitleandsummaryif it's putting the escape code in the document?oprypin commentedon Apr 10, 2024
waylan commentedon Apr 10, 2024
And how does this proposal address the issues raised in the first comment on #3560?
oprypin commentedon Apr 10, 2024
lovelydinosaur commentedon Apr 12, 2024
lovelydinosaur commentedon Apr 15, 2024
What are we here for if not for the content (& lols?)
Strip HTML tags from search entry titles (#53)