1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-04-19 05:11:29 +00:00

added block parsing for macros of tw2 parser to allow typed block (superblock is tw5 text)

This commit is contained in:
buggyj
2014-04-16 00:52:05 +01:00
parent b9e3550747
commit dc098044dc
2 changed files with 3 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ var WikiTextParser = function(type,text,options) {
this.tree =[];
this.output = null;
this.subWikify(this.children);
var parser = $tw.wiki.old_parseTiddler("$:/plugins/tiddlywiki/tw2parser/macrodefs",{parseAsInline:true});
var parser = $tw.wiki.old_parseTiddler("$:/plugins/tiddlywiki/tw2parser/macrodefs",{parseAsInline:false});
this.tree = [{
type: "element",
tag: "div",

View File

@@ -120,7 +120,8 @@ var insertMacroCall = function(w,output,macroName,paramString) {
output.push({
type: "macrocall",
name: macroName,
params: params
params: params,
isBlock: true
});
}