mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-01 06:41:18 -08:00
Removed extraneous calls to skipWhitespace
Instead we'll skip whitespace at the start of a run
This commit is contained in:
parent
0944e5476d
commit
a318ad77cd
2 changed files with 0 additions and 3 deletions
|
|
@ -32,7 +32,6 @@ exports.regExpString = "!{1,6}";
|
|||
|
||||
exports.parse = function(match,isBlock) {
|
||||
this.pos = match.index + match[0].length;
|
||||
this.skipWhitespace();
|
||||
var classedRun = this.parseClassedRun(/(\r?\n)/mg);
|
||||
return [$tw.Tree.Element("h1",{"class": classedRun["class"]},classedRun.tree)];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -85,8 +85,6 @@ exports.parse = function(match,isBlock) {
|
|||
}
|
||||
// Skip the list markers
|
||||
this.pos = match.index + match[0].length;
|
||||
// Skip any whitespace
|
||||
this.skipWhitespace();
|
||||
// Process the body of the list item into the last list item
|
||||
var lastListInfo = listTypes[match[0].charAt(match[0].length-1)],
|
||||
lastListChildren = listStack[listStack.length-1].children,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue