-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transcludsion fails for multiple tiddlers #1
Comments
Will take a look, should be a quick fix.
…On Thu, 9 Feb 2023, 23:29 shadowforce62, ***@***.***> wrote:
If more then one tiddler is transcluded then it sends the actual
transclude Text to the console
Example
{{Hello Tiddler}} (Echo Hello World!)
{{Goodbye Tiddler}} (Echo Goodbye World!)
Tiddler running
------------------------------
@echo <https://github.com/echo> off
{{Hello Tiddler}}
{{Goodbye Tiddler}}
Pause
Result:
Hello World!
{{Goodbye Tiddler}} is not recognized as an internal or external command
Press any key to continue.
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDAWP477SB7TNOU5A2KZJDWWV4VJANCNFSM6AAAAAAUXEZNS4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
maybe b0147b0 is a fix, i haven't reproduced the issue locally - your setup works for me. but this should fix a recursive pattern. Are you able to try this commit? I'll build it into my samples maybe tomorrow. |
if it helps i can send the TW file im using as an HTA, im also going to try downloading the demo one and updating it to see if its just a tw5.2.5 issue. i have a few other plugins that may/maynot be causing conflicts, im also storing all my "Code Snippets" as plain/txt |
I think this may help, i've updated twexe.js in the demo page you have online and added 5 transclusions, i've notice a pattern because the first 3 worked instead of the first 2, adding null values ({{nul}}) that points to just :: i was able to get it to read all five lines correctly the more nuls added the more it trancludes. the tiddler looks like this:
Side Note: Im using windows 11 and TW 2.5.3 (The Demo Version @ http://welford.github.io/twexe/twexe.plugin.html) with an updated twexe.js file only Temporary Fix For anyone else with this issue: Create a new Tiddler named "Nul" |
plain text is fine, could you please share a html version of your example? Renaming the hta is fine. thanks! |
inside the zip is the .htm file. look for the tiddler named debug in recent. in my machine the script will execute properly so long as {{Nul}} is appended to the end like so, Delete the nul values and you should see it fail to run transcluded tiddlers |
(Second account, I'm shadowforce62)
Solve this issue? Shot in the dark? |
Just without the UI part? |
sorry for the delay, but cfc4d3c should be a fix for this. Thanks for the sample. |
Awesome, looks like it works just fine I'm piling translations and they seem to work, I can't tell if I'm jumbling my code or not but I'm no longer getting '{{Tiddler}}' not recognized errors. i think its safe to mark this one fixed |
thanks i have updated my public wikis with the new plugins. |
If more then one tiddler is transcluded then it sends the actual transclude Text to the console
Example
{{Hello Tiddler}} (Echo Hello World!)
{{Goodbye Tiddler}} (Echo Goodbye World!)
Tiddler running
@echo off
{{Hello Tiddler}}
{{Goodbye Tiddler}}
Pause
Result:
Hello World!
{{Goodbye Tiddler}} is not recognized as an internal or external command
Press any key to continue.
The text was updated successfully, but these errors were encountered: