#109 - opt-out to keep line returns in excerpts

And removed the "show notice" setting
This commit is contained in:
Simon Cambier
2022-11-09 22:01:02 +01:00
parent 32161ca94a
commit 6be174eeb9
6 changed files with 121 additions and 94 deletions

View File

@@ -6,7 +6,7 @@ export const regexStripQuotes = /^"|"$|^'|'$/g
export const chsRegex = /[\u4e00-\u9fa5]/
export const excerptBefore = 100
export const excerptAfter = 180
export const excerptAfter = 300
export const highlightClass = 'suggestion-highlight omnisearch-highlight'