Skip to content

Commit

Permalink
Merge pull request #472 from harena-lab/development
Browse files Browse the repository at this point in the history
feat (report/bilou): including punctuation
  • Loading branch information
santanche authored Jan 11, 2024
2 parents 2afe308 + 5bed458 commit dc0fb70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/adonisjs/public/report/js/report-annotations.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ class ReportManager {
tokens.push([tk, tks, c-1, 'O', null])
tk = ''
tks = -1
if (c < text.length && ReportManager.septoken.includes(text[c]))
tokens.push([text[c], c, c, 'O', null])
}
} else {
if (tks == -1)
Expand Down Expand Up @@ -407,6 +409,8 @@ class ReportManager {

ReportManager.separators = [
' ', '\n', '\r', '\t', '.', ',', ';', ':', '(', ')', '[', ']', '{', '}']
ReportManager.septoken = [
'.', ',', ';', ':', '(', ')', '[', ']', '{', '}']

// <TODO> Copy of the same constants in annotator.js
// isc: Illness Script Components
Expand Down

0 comments on commit dc0fb70

Please sign in to comment.