Thank you Eric! Its working beautifully now.
-- Mark On Jan 26, 8:42 am, Eric Shulman <elsdes...@gmail.com> wrote: > > But there's still the question of why the resulting data, formatted > > using pipes, isn't displayed as a table. > > The problem is that you are inserting a newline between the > description (%1) and the url (%2): > > var strx = "| ... | ... %1\n%2 |".format([t,d,u,s]) ; > > However: TiddlyWiki table format requires that each row of the table > is specified on a single line, with no leading or trailing > whitespace... and **no embedded newlines within the content table > cells**. To produce the two-line cell display that you want, you > should use "<br>" in place of "\n", like this: > > var strx = "| ... | ... %1<br>%2 |".format([t,d,u,s]) ; > > That should fix the problem... > > Note: Although <br> is HTML syntax, it will also be processed as > native TW wiki syntax and rendered as a newline by the TW's core wikify > () function. Thus, you can use <br> directly in wiki content without > needing to surround it with "<html><br></html>". > > enjoy, > -e --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---