Skip to content

Commit

Permalink
Fix problem with title not showing when using the plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrosen committed Aug 28, 2017
1 parent ff256b5 commit 2ef45b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/abc_plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ plugin.convertToDivs = function (elem) {
}
}
if (inabc) {
abctext += text.replace(/\n+/,"");
abctext += text.replace(/^\n+/,"");
abcdiv.appendChild(node)
}
} else if (inabc && node.tagName === 'BR') {
Expand Down

0 comments on commit 2ef45b0

Please sign in to comment.