ep_markdown
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -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
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
33032
758