mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-04 12:58:01 +00:00
Minor tweaks to link class handling
This commit is contained in:
parent
f155c150e2
commit
e190cadcca
@ -81,7 +81,9 @@ WikiStore.prototype.forEachTiddler = function(/* [sortField,[excludeTag,]]callba
|
|||||||
sortField = arguments.length > 1 ? arguments[a++] : null,
|
sortField = arguments.length > 1 ? arguments[a++] : null,
|
||||||
excludeTag = arguments.length > 2 ? arguments[a++] : null,
|
excludeTag = arguments.length > 2 ? arguments[a++] : null,
|
||||||
callback = arguments[a++],
|
callback = arguments[a++],
|
||||||
t,tiddlers = [],tiddler;
|
t,
|
||||||
|
tiddlers = [],
|
||||||
|
tiddler;
|
||||||
if(sortField) {
|
if(sortField) {
|
||||||
for(t in this.tiddlers) {
|
for(t in this.tiddlers) {
|
||||||
tiddlers.push(this.tiddlers[t]);
|
tiddlers.push(this.tiddlers[t]);
|
||||||
|
@ -156,7 +156,6 @@ WikiTextParseTree.prototype.compileElementHtml = function(element, options) {
|
|||||||
}
|
}
|
||||||
this.pushString("<" + tagBits.join(" ") + (options.selfClosing ? " /" : ""));
|
this.pushString("<" + tagBits.join(" ") + (options.selfClosing ? " /" : ""));
|
||||||
if(options.insertAfterAttributes) {
|
if(options.insertAfterAttributes) {
|
||||||
this.pushString(" ");
|
|
||||||
this.output.push(options.insertAfterAttributes);
|
this.output.push(options.insertAfterAttributes);
|
||||||
}
|
}
|
||||||
this.pushString(">");
|
this.pushString(">");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user