I had a very "brutal" experience last night.
Ken G and cmari - helped me to compose the code needed to make a
sortable table which fetches information/data from tiddlers tagged
with the title of the Tiddler containing the code.
It worked like a charm!! - And I replaced all tables in question with
this new table.

After reloading it - all backslashes(\) had been erased and none of it
worked (of course).
It worked very well before - and I'm very unhappy that this happens as
it's the first REAL "time-saver" code I've accomplished to costumize
for my TW.

Here's the code (which works fine - untill I reload the document!!):

<<forEachTiddler
where
'tiddler.tags.contains (context.inTiddler.title)'
write
 '(index < 200)? "|"+(index+1)+"|[["+tiddler.title+"]]|[["+tiddler.data
("Gang")+"]]|[["+tiddler.data("Værelse") +"]]|<<toggleTag
hereFortheWeekend [["+tiddler.title+"]] nolabel \>\>|<<toggleTag
SickLeave [["+tiddler.title+"]] nolabel \>\>|\n" : ""'
         begin '"|sortable|k\n|!#|Name|House|Room|
[[hereFortheWeekend]]|[[SickLeave]]|h\n"'
       end 'count+" Students\n"'
       none '"No students\n"'
>>

After I reload - I get this:

<<forEachTiddler
where
'tiddler.tags.contains (context.inTiddler.title)'
write
 '(index < 200)? "|"+(index+1)+"|[["+tiddler.title+"]]|[["+tiddler.data
("Gang")+"]]|[["+tiddler.data("Værelse") +"]]|<<toggleTag
hereFortheWeekend [["+tiddler.title+"]] nolabel >>|<<toggleTag
SickLeave [["+tiddler.title+"]] nolabel >>|n" : ""'
         begin '"|sortable|kn|!#|Name|House|Room|[[hereFortheWeekend]]|
[[SickLeave]]|hn"'
       end 'count+" Studentsn"'
       none '"No studentsn"'
>>

Every single backslash has been removed!!
Can anyone tell me what to do about it??
I think there must be a workaround - because the code works very well
- untill it has been reloaded...

YS Måns Mårtensson

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to