Skip to content

Commit

Permalink
Put song text within a span to aid in detection of split words that r…
Browse files Browse the repository at this point in the history
…equire hyphenating when rendered in HTML.
  • Loading branch information
tvdavies committed Jul 13, 2016
1 parent a84fff1 commit f626e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/song.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Song.prototype.render = function (songTemplate, transpose) {
'</tr>\n' +
'<tr class="song-text">\n' +
'{{#lineSegments}}\n' +
'<td>{{{formattedText}}}</td>\n' +
'<td><span class="song-text-segment">{{{formattedText}}}</span></td>\n' +
'{{/lineSegments}}\n' +
'</tr>\n' +
'</table>\n' +
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chordprojs",
"version": "0.1.0",
"version": "0.1.1",
"description": "Parse and manipulate ChordPro files.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f626e59

Please sign in to comment.