New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hexo-renderer-marked

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-renderer-marked - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

4

lib/renderer.js

@@ -31,7 +31,7 @@ 'use strict';

// add headerlink
return '<h' + level + ' id="' + id + '"><a href="#' + id + '" class="headerlink" title="' + text + '"></a>' + text + '</h' + level + '>';
return '<h' + level + ' id="' + id + '"><a href="#' + id + '" class="headerlink" title="' + stripHTML(text) + '"></a>' + text + '</h' + level + '>';
};
function anchorId(str) {
// 添加中文支持
// Add support for Chinese
return escape(str

@@ -38,0 +38,0 @@ .replace(/\s+/g, '_')

{
"name": "hexo-renderer-marked",
"version": "0.2.6",
"version": "0.2.7",
"description": "Markdown renderer plugin for Hexo",

@@ -25,3 +25,3 @@ "main": "index",

"dependencies": {
"hexo-util": "^0.3.0",
"hexo-util": "^0.5.1",
"marked": "^0.3.5",

@@ -36,3 +36,3 @@ "object-assign": "^4.0.1",

"istanbul": "^0.4.1",
"jscs": "^2.6.0",
"jscs": "^2.7.0",
"jscs-preset-hexo": "^1.0.1",

@@ -39,0 +39,0 @@ "mocha": "^2.3.4"

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