marked-abc 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marked-abc",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Render sheet music with ABCjs in Markdown documents using Marked.",
5
5
  "main": "./lib/index.esm.js",
6
6
  "module": "./lib/index.esm.js",
package/src/index.ts CHANGED
@@ -115,7 +115,7 @@ export default function(options: MarkedAbcOptions = {}): MarkedExtension {
115
115
  abcjs.renderAbc(
116
116
  ele,
117
117
  // Trim all leading whitespace or ABCjs freaks out and fails to render it all
118
- (token as AbcToken).abc.split('\n').map((line: string) => line.trim()).join(),
118
+ (token as AbcToken).abc.split('\n').map((line: string) => line.trim()).join('\n'),
119
119
  options.abcOptions,
120
120
  );
121
121
  });