mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-18 07:11:26 -08:00
parent
18d7d3d8c0
commit
9f1eab175d
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ TranscludeWidget.prototype.execute = function() {
|
|||
var target = this.getTransclusionTarget(),
|
||||
parseTreeNodes = target.parseTreeNodes;
|
||||
this.sourceText = target.text;
|
||||
this.sourceType = target.type;
|
||||
this.parserType = target.type;
|
||||
this.parseAsInline = target.parseAsInline;
|
||||
// Process the transclusion according to the output type
|
||||
switch(this.transcludeOutput || "text/html") {
|
||||
|
|
@ -58,7 +58,7 @@ TranscludeWidget.prototype.execute = function() {
|
|||
break;
|
||||
default:
|
||||
// text/plain
|
||||
var plainText = this.wiki.renderText("text/plain",this.sourceType,this.sourceText,{parentWidget: this});
|
||||
var plainText = this.wiki.renderText("text/plain",this.parserType,this.sourceText,{parentWidget: this});
|
||||
parseTreeNodes = [{type: "text", text: plainText}];
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue