[tw] Re: Odd bug with divs and styles

2015-05-07 Thread PMario
On Wednesday, May 6, 2015 at 11:51:19 PM UTC+2, Lucian H wrote: If you create a tiddler with the following content: div @@.class1 @@.class2 Some text @@ /div Imo it would be easier to create and read, if you use div class=class1 class2some text/div It is much clearer, easier to type

[tw] Re: Odd bug with divs and styles

2015-05-07 Thread Lucian H
On Thursday, 7 May 2015 10:45:42 UTC+1, PMario wrote: Imo it would be easier to create and read, if you use div class=class1 class2some text/div It is much clearer, easier to type and valid html code. Agreed. This is exactly the conclusion that I came to myself, and what I've ended up

Re: [tw] Re: Odd bug with divs and styles

2015-05-07 Thread Jeremy Ruston
Hi Lucian One thing that puzzles me in this case is that a) the docs explicitly state that multiple @@ lines in a row are ok and b) the following works fine: The confusion here is that there are two forms of the @@ syntax, one for inline mode (within a paragraph or other block of text) and one

[tw] Re: Odd bug with divs and styles

2015-05-06 Thread Eric Shulman
On Wednesday, May 6, 2015 at 2:51:19 PM UTC-7, Lucian H wrote: div @@.class1 @@.class2 Some text @@ /div Tiddlywiki breaks badly - you end up with the following html: div span class=tc-inline-style class1/span.class2 Some text span class=tc-inline-style lt;/divgt;/span/div If you

[tw] Re: Odd bug with divs and styles

2015-05-06 Thread Lucian H
On Wednesday, 6 May 2015 23:28:32 UTC+1, Eric Shulman wrote: The reason the problem doesn't appear if the divs are moved inside the class wrapper is that div.../div effectively isolates the outer @@..@@ from the inner one, like this: @@.class1 div@@.class2 content here@@/div@@ Hmm. Ok.