Comparing version 1.8.0 to 1.8.1
@@ -169,3 +169,3 @@ var Mehdown; | ||
Mehdown.soundcloud = function(match, url) { | ||
return '<iframe class="soundcloud" frameborder="0" src="https://w.soundcloud.com/player/?url=' + encodeURIComponent(url) + '"></iframe>'; | ||
return '<iframe class="soundcloud" frameborder="0" src="https://w.soundcloud.com/player/?visual=true&url=' + encodeURIComponent(url) + '"></iframe>'; | ||
}; | ||
@@ -172,0 +172,0 @@ |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "1.8.0" | ||
"version": "1.8.1" | ||
} |
@@ -6,4 +6,2 @@ mehdown | ||
[![NPM](https://nodei.co/npm/mehdown.png)](https://nodei.co/npm/mehdown/) | ||
It adds the following features to Markdown: | ||
@@ -10,0 +8,0 @@ - Newline support |
@@ -189,3 +189,3 @@ var assert = require('assert'); | ||
var text = mehdown.parse('<p><a href="https://soundcloud.com/shawnmichaelmiller/santa-claus-is-coming-to-town">https://soundcloud.com/shawnmichaelmiller/santa-claus-is-coming-to-town</a></p>'); | ||
assert.equal(text, '<p><iframe class="soundcloud" frameborder="0" src="https://w.soundcloud.com/player/?url=https%3A%2F%2Fsoundcloud.com%2Fshawnmichaelmiller%2Fsanta-claus-is-coming-to-town"></iframe></p>'); | ||
assert.equal(text, '<p><iframe class="soundcloud" frameborder="0" src="https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fsoundcloud.com%2Fshawnmichaelmiller%2Fsanta-claus-is-coming-to-town"></iframe></p>'); | ||
}); | ||
@@ -192,0 +192,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36053
18