Skip to content

Commit

Permalink
Add space for chordAfter
Browse files Browse the repository at this point in the history
  • Loading branch information
plumvillagesongs committed Nov 29, 2022
1 parent 5559d2a commit 81bcfac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/chord_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ ChordLyricsLine _processSingleLine(
RegExp exp = RegExp(r'(\[[\w#/]+\])(\S+?)[\s\.,]', multiLine: true);
//print(content);
final newString = content.replaceAllMapped(exp, (Match m) {
return '${m[2]}${m[1]} ';
return '${m[2]} ${m[1]} ';
});
return newString;
//newContent = newContent + newString;
Expand Down

0 comments on commit 81bcfac

Please sign in to comment.