Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mehdown

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mehdown - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

2

lib/index.js

@@ -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 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc