mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 22:33:50 +00:00
parent
db6abb9703
commit
47f80339b2
@ -70,11 +70,9 @@ TranscludeWidget.prototype.execute = function() {
|
|||||||
// Check for recursion
|
// Check for recursion
|
||||||
if(parser) {
|
if(parser) {
|
||||||
if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {
|
if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {
|
||||||
parseTreeNodes = [{type: "element", tag: "span", attributes: {
|
parseTreeNodes = [{type: "error", attributes: {
|
||||||
"class": {type: "string", value: "tc-error"}
|
"$message": {type: "string", value: $tw.language.getString("Error/RecursiveTransclusion")}
|
||||||
}, children: [
|
}];
|
||||||
{type: "text", text: $tw.language.getString("Error/RecursiveTransclusion")}
|
|
||||||
]}];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Construct the child widgets
|
// Construct the child widgets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user