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
.use(lunr({
preprocess: function(content) {
// Replace all occurrences of __title__ with the current file's title metadata.
return content.replace(/__title__/g, this.title);
}
}))
How do I strip HTML tags ??
The text was updated successfully, but these errors were encountered:
That seems to remove the HTML and punctuation from the contents; however, I think some punctuation is still getting through to the index in other fields. Is that right?
This is my lunr snippet from the build file:
How do I strip HTML tags ??
The text was updated successfully, but these errors were encountered: