added a trim and updated version info

This commit is contained in:
dwolfe884 2023-02-06 11:41:17 -06:00
parent d6bfbc4343
commit d506060b44
4 changed files with 4 additions and 4 deletions

View file

@ -163,6 +163,7 @@ function MakeNodeFromLineToNextJump(linenum, text, fromnode2, edgelabel) {
currnode = currnode + line + "\n";
}
} else {
line = line.trim();
if (line[line.length - 1] == ":") {
line = line.slice(0, line.length - 1);
}

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-x86-flow",
"name": "X86 Flow Graphing",
"version": "1.2.0",
"version": "1.0.0",
"minAppVersion": "1.1.0",
"description": "An Obsidian plugin for converting x86 code blocks into flow graphs",
"author": "icebear",

View file

@ -181,6 +181,7 @@ function MakeNodeFromLineToNextJump(linenum: any, text: any, fromnode: any, edge
}
//Else, we're handling a location
else{
line = line.trim()
//Remove ":" if at the end of location
if(line[line.length-1] == ":"){
line = line.slice(0,line.length-1)

View file

@ -1,5 +1,3 @@
{
"1.0.0": "0.15.0",
"1.0.1": "0.15.0",
"1.0.2": "0.15.0"
"1.0.0": "1.1.0"
}