nim-lang / nimforum

Lightweight alternative to Discourse written in Nim
https://forum.nim-lang.org/
MIT License
763 stars 70 forks source link

Search results mangle some hyperlinks #40

Open gradha opened 9 years ago

gradha commented 9 years ago

When the forum is searched for the word htmlgen one of result posts is mine with the text Something like **htmlgen**?. The extra asterisks are not present in the original post, and the hyperlink leads to http://nim-lang.org/**htmlgen**.html. Clicking on the post shows the expected text and correct url.

markprocess commented 6 years ago

@dom96 This is the oldest issue that is a defect and it still occurs. Any advice before I work on it?

markprocess commented 6 years ago

@dom96

Where is snippet defined? https://github.com/nim-lang/nimforum/blob/8ee75233d47b0376a9612d86a955c4e16ea153be/src/fts.sql#L46

dom96 commented 6 years ago

Pretty sure it's a SQLite thing

On Mon, 23 Jul 2018, 22:54 markprocess, notifications@github.com wrote:

@dom96 https://github.com/dom96

Where is snippet defined?

https://github.com/nim-lang/nimforum/blob/8ee75233d47b0376a9612d86a955c4e16ea153be/src/fts.sql#L46

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nim-lang/nimforum/issues/40#issuecomment-407213725, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPDe2hj6pivRNDmKWcKui2O0qmpStMXks5uJkYxgaJpZM4DUyLn .