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

ep_markdown

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_markdown - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

21

exportMarkdown.js

@@ -368,19 +368,8 @@ /**

lists.push([line.listLevel, line.listTypeName]);
if(line.listTypeName == "number")
{
pieces.push("\n"+(new Array((line.listLevel-1)*4)).join(' ')+(new Array(line.listLevel*4)).join(' ')+"1. ", lineContent || "\n");
}
else
{
pieces.push("\n"+(new Array((line.listLevel-1)*4)).join(' ')+(new Array(line.listLevel*4)).join(' ')+"* ", lineContent || "\n");
}
}
else//means we are getting closer to the lowest level of indentation
{
if(line.listTypeName == "number"){
pieces.push("\n"+(new Array(line.listLevel*4)).join(' ')+"1. ", lineContent || "\n"); // problem here
}else{
pieces.push("\n"+(new Array(line.listLevel*4)).join(' ')+"* ", lineContent || "\n"); // problem here
}
if(line.listTypeName == "number"){
pieces.push("\n"+(new Array(line.listLevel*4)).join(' ')+"1. ", lineContent || "\n"); // problem here
}else{
pieces.push("\n"+(new Array(line.listLevel*4)).join(' ')+"* ", lineContent || "\n"); // problem here
}

@@ -387,0 +376,0 @@ }

{
"name": "ep_markdown",
"description": "Edit and Export as Markdown in Etherpad",
"version": "0.0.9",
"version": "0.0.10",
"author": {

@@ -6,0 +6,0 @@ "name": "John McLear",

Sorry, the diff of this file is not supported yet

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