mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-19 09:47:38 +00:00
Procedures and widgets inherit whitespace trim setting from their definition
This commit is contained in:
@@ -179,7 +179,7 @@ TranscludeWidget.prototype.getTransclusionTarget = function() {
|
||||
if(srcVariable.isCacheable && srcVariable[mode]) {
|
||||
parser = srcVariable[mode];
|
||||
} else {
|
||||
parser = this.wiki.parseText(this.transcludeType,variableInfo.text || "",{parseAsInline: parseAsInline});
|
||||
parser = this.wiki.parseText(this.transcludeType,variableInfo.text || "",{parseAsInline: parseAsInline, configTrimWhiteSpace: srcVariable.configTrimWhiteSpace});
|
||||
if(srcVariable.isCacheable) {
|
||||
srcVariable[mode] = parser;
|
||||
}
|
||||
|
Reference in New Issue
Block a user