Hi Michael The impact of the triple double quotes is subtle. Once inside the first set of them, the parser is looking for the terminating set. It then encounters what it thinks is an opening <hello> tag, and starts looking for the end of that. The subtlety is that at that point it is parsing in "inline mode", meaning that it is looking for inline formatting (like bold, italics, links etc), and not looking for block formatting (like headings). Then it finds another set of triple double quotes inside the <hello> tag, and starts looking for the end of that. It reaches the end of the tiddler without finding the closing tag, which is what deprives the heading of the chance to be parsed in block mode.
But the takeaway is simple: TW5 will interpret anything that looks like an HTML tag as an HTML tag. Best wishes Jeremy On Wed, Jan 1, 2014 at 8:01 PM, Michael Herrmann <[email protected]>wrote: > I observed this only in conjunction with three double-quotes (used for > hard linebreaks). As a summary: > > 1. when <hello> appears inside a block surrounded by """ then a subsequent > heading is not rendered as heading > 2. when <hello> is not surrounded by """ then subsequent headings are > rendered correctly > > Please see attached picture. > > Michael > > Am Mittwoch, 1. Januar 2014 17:46:02 UTC+1 schrieb Michael Herrmann: > >> Hello, >> >> In tiddlers that I migrated from TWC to TW5 I had occurrences of the >> lower-then sign "<" and I found the following behavior: >> >> Tiddler text: >> >> bla <hello> >> >> renders as >> >> bla >> >> whereas tiddler text >> >> bla < hello> >> >> renders as >> >> bla < hello>. >> >> Even more confusing. Reconsider the first example and add a heading like >> this >> >> bla <hello> >> >> ! A heading >> >> This renders as >> >> bla >> >> ! A heading >> >> Again, adding a space after the "<" cures the rendering and formats "A >> heading" as a real heading. >> >> Ok, workaround is: use "<" instead of a literal "<". But if this >> behavior could be changed, so that a single "<" could be accepted as a >> literal would be handy. >> >> br >> Michael >> >> >> -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev. > For more options, visit https://groups.google.com/groups/opt_out. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
