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

tent-markdown

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tent-markdown - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

12

lib/tent-markdown.js

@@ -17,3 +17,9 @@ // Released under BSD license

var nextBlock = this.dialect.block.hashtags;
var nextBlock = function (block, next) {
var _block = [].concat(this.dialect.block.hashtags.call(this, block, next, false));
if (_block.length == 1) {
_block = _block[0];
}
return _block;
}

@@ -97,3 +103,3 @@ if (!urls.length) {

if (before.length) {
jsonml = jsonml.concat(nextBlock.call(this, before, [], false) || [] );
jsonml = jsonml.concat(nextBlock.call(this, before, []) || [] );
}

@@ -111,3 +117,3 @@

// process remaining text
jsonml = jsonml.concat(nextBlock.call(this, _block, next, false) || [] );
jsonml = jsonml.concat(nextBlock.call(this, _block, next) || [] );

@@ -114,0 +120,0 @@ return [jsonml];

{
"name": "tent-markdown",
"version": "0.1.5",
"version": "0.1.6",
"description": "Tent dialect for markdown lib",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,10 +7,8 @@ ["html",

],
[
" and a ",
["a",
{ "href" : "#hashtag", "rel": "hashtag" },
"#hashtag"
]
" and a ",
["a",
{ "href" : "#hashtag", "rel": "hashtag" },
"#hashtag"
]
]
]
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