On Friday, October 9, 2020 at 3:51:35 PM UTC-7, Jean-Pierre Rivière wrote: > > I have confirmation of a problem with end of line with macro rendering > text, not with wiki parsing after the macro has done its job. > simply surrond the macro call by pre and /pre tags. And behold below! >
Table syntax requires newlines to terminate each row. However, your macro specifies "\whitespace trim", which eliminates the newlines. Thus, your generated table output becomes one long run-on line of text and the "|" dividers are treated as literals. Wikitext table syntax can be very sensitive to subtle issues with whitespace (e.g., a single space character following the last "|" on a row will break the table output. Also, as you've discovered, you can't use <$list>...</$list> to generate rows with wikitext table syntax, since the presence of the widgets also breaks the table output. In general, when programmatically constructing complex table output, I suggest using HTML table syntax (i.e., table, caption, th, tr, td) instead of wikitext table syntax, as it will permit much greater flexibility and produce more controllable results. -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9a9bc48d-e996-4ec9-b659-8560e08874fco%40googlegroups.com.

