[GH-ISSUE #151] Only the last element of the words list in json preset is processed. #103

Closed
opened 2026-03-03 16:04:27 +03:00 by kerem · 1 comment
Owner

Originally created by @pitonmd on GitHub (Dec 11, 2018).
Original GitHub issue: https://github.com/mthenw/frontail/issues/151

I found an error in the _highlightWord() function in web /assets/app.js, which caused only the last object in the _highlightConfig.words list to be processed.

To fix, you need to replace line 180 in /assets/app.js:
output = line.replace(
with
output = output.replace(

Originally created by @pitonmd on GitHub (Dec 11, 2018). Original GitHub issue: https://github.com/mthenw/frontail/issues/151 I found an error in the _highlightWord() function in web /assets/app.js, which caused only the last object in the _highlightConfig.words list to be processed. To fix, you need to replace line 180 in /assets/app.js: `output = line.replace(` with `output = output.replace(`
kerem closed this issue 2026-03-03 16:04:27 +03:00
Author
Owner

@macfly92 commented on GitHub (Jan 9, 2019):

Hello, I have the same issue.
Will it be fixed in the next builded version ?
Thanks you.

<!-- gh-comment-id:452726986 --> @macfly92 commented on GitHub (Jan 9, 2019): Hello, I have the same issue. Will it be fixed in the next builded version ? Thanks you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#103
No description provided.