Comparing version 1.11.4 to 1.11.5
@@ -233,2 +233,3 @@ var Mehdown; | ||
var url = markdown.match(Mehdown.urlRegExp)[0]; | ||
url = url.replace(/&/g, '&'); | ||
@@ -235,0 +236,0 @@ function getParameterByName(name, url) { |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "1.11.4" | ||
"version": "1.11.5" | ||
} |
@@ -300,2 +300,7 @@ var assert = require('assert'); | ||
}); | ||
it('http://www.youtube.com/watch?v=kU9MuM4lP18&start=10', function() { | ||
var text = mehdown.parse('<p><a href="http://www.youtube.com/watch?v=kU9MuM4lP18&start=10">http://www.youtube.com/watch?v=kU9MuM4lP18&start=10</a></p>'); | ||
assert.equal(text, '<p><iframe allowfullscreen class="youtube" frameborder="0" src="https://www.youtube.com/embed/kU9MuM4lP18?autohide=1&color=white&showinfo=0&theme=light&start=10"></iframe></p>'); | ||
}); | ||
}); | ||
@@ -302,0 +307,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
42846
463