Skip to content

Commit

Permalink
Bugfix/qa in verse text (#134)
Browse files Browse the repository at this point in the history
* remove qa  from list of paragraph markers

* make tests run on push to any branch
  • Loading branch information
kavitharaju authored Jan 17, 2022
1 parent e8dfbfc commit b01de6d
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 32 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/check-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Check-on-push
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion js/grammarOperations-relaxed.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const sem = bib.createSemantics();
// text and ts place is updated with null
const paraMarkers = ['p', 'm', 'po', 'pr', 'cls', 'pmo', 'pm', 'pmc',
'pmr', 'pi', 'pi1', 'pi2', 'pi3', 'mi', 'nb', 'pc', 'ph', 'ph1', 'ph2',
'ph3', 'b', 'q', 'q1', 'q2', 'q3', 'qr', 'qc', 'qs', 'qa', 'qac', 'qm',
'ph3', 'b', 'q', 'q1', 'q2', 'q3', 'qr', 'qc', 'qs', 'qac', 'qm',
'qm1', 'qm2', 'qm3'];

// const punctPattern = new RegExp('^[,./;:\'"`~!@#$%^&*(){}[}|]');
Expand Down
2 changes: 1 addition & 1 deletion js/grammarOperations.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const verseCarryingMarkers = ['li', 'li1', 'li2', 'li3', 'lh', 'lf', 'lim', 'lit

const paraMarkers = ['p', 'm', 'po', 'pr', 'cls', 'pmo', 'pm', 'pmc',
'pmr', 'pi', 'pi1', 'pi2', 'pi3', 'mi', 'nb', 'pc', 'ph', 'ph1', 'ph2',
'ph3', 'b', 'q', 'q1', 'q2', 'q3', 'qr', 'qc', 'qs', 'qa', 'qac', 'qm',
'ph3', 'b', 'q', 'q1', 'q2', 'q3', 'qr', 'qc', 'qs', 'qac', 'qm',
'qm1', 'qm2', 'qm3'];

const punctPattern1 = new RegExp('^[,.\\-—/;:!?@$%^)}\\]>”»]'); // no space before
Expand Down
Loading

0 comments on commit b01de6d

Please sign in to comment.