kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Resolve merge conflict
commit
6255b97b14
|
@ -75,17 +75,16 @@ var processRow = function(prevColumns) {
|
||||||
this.parser.pos++;
|
this.parser.pos++;
|
||||||
// Look for a space at the start of the cell
|
// Look for a space at the start of the cell
|
||||||
var spaceLeft = false,
|
var spaceLeft = false,
|
||||||
chr = this.parser.source.substr(this.parser.pos,1);
|
vAlign = null;
|
||||||
var vAlign = null;
|
if(this.parser.source.substr(this.parser.pos).search(/^\^([^\^]|\^\^)/) === 0) {
|
||||||
if(chr === "^") {
|
|
||||||
vAlign = "top";
|
vAlign = "top";
|
||||||
} else if(chr === ",") {
|
} else if(this.parser.source.substr(this.parser.pos).search(/^,([^,]|,,)/) === 0) {
|
||||||
vAlign = "bottom";
|
vAlign = "bottom";
|
||||||
}
|
}
|
||||||
if(vAlign) {
|
if(vAlign) {
|
||||||
this.parser.pos++;
|
this.parser.pos++;
|
||||||
chr = this.parser.source.substr(this.parser.pos,1);
|
|
||||||
}
|
}
|
||||||
|
var chr = this.parser.source.substr(this.parser.pos,1);
|
||||||
while(chr === " ") {
|
while(chr === " ") {
|
||||||
spaceLeft = true;
|
spaceLeft = true;
|
||||||
this.parser.pos++;
|
this.parser.pos++;
|
||||||
|
|
Ładowanie…
Reference in New Issue