Hi Vincent,
I meant the correspondence between a \n character and a BR element. At the
> beginning I thought that every BR corresponds to one \n, but did not see
> such a correspondence in the rendered tiddlers. That's why I thought it
> unpredictable.
>
> These days I played a bit more and found that if "one block element is
> immediately following another", then that \n between the wiki text defining
> the two block elements is not rendered as a BR. All other cases \n's seem
> to have their corresponding BR's. I will find time to implement this
> finding in the codes and see how it works. I'll send you a new snapshot
> when I have one (may take a while though).
>
> you are probably referring to TiddlyWiki5 here, I've heard about this
behaviour of TW5 ("backward incompability"); keep in mind that in
TiddlyWiki Classic double \n *are* rendered as double <br>, so
unfortunately the algorithms should be different for the 2 cases. But for
TWc it should be quite straight-forward, one \n after an ordinary text
block (not table, caption, list item etc) corresponds to one <br>.
Best regards,
Yakov.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/cfe84625-bc13-4768-9545-973cd3e6e0c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.