Skip to content

Search results do not convert/remove footnote references correctly #891

Discussion options

You must be logged in to vote

This bug was caused by the code to extract relevant search results, the intention being that if you display only some text characters from the top of a page, you don't render the entire page and throw most of it away afterwards. Rendering only 4096 bytes showed a significant difference during performance testing. Unfortunately this kind of performance improvement doesn't work for Markdown footnotes, as Giovanni explained. Looks like we have to spend more CPU time to handle possible footnotes. The search extension and core extension have been updated, text descriptions no longer contain reference numbers as suggested by Robert.

Should be fixed now, please try it out.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@pftnhr
Comment options

@annaesvensson
Comment options

@pftnhr
Comment options

Comment options

You must be logged in to vote
1 reply
@pftnhr
Comment options

Answer selected by pftnhr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants