I ask this since I run into many people who don't know what line-break 
characters are since in normal HTML they are treated as normal white-space 
and in those you don't have to think about them: When you say "There are 
*NO* line breaks in the HTML I'm supplying. " 
You do really mean there are no line-breaks not just line-break tags but 
line-break characters meaning you never use the return/enter key.
AKA your code looks like:

<html><div><span>Content</span><span>Content</span><ul><li>Item1</li><li>Item2</li><li>Item3</li></ul></div></html>

If you're code looks like that it should render right, but if it looks like 
this or anything like it, it'll render with a bunch of BR tags:

<html>
<div>
<span>Content</span>
<span>Content</span>
<ul>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
</ul>
</div>
</html>

 

On Monday, October 21, 2013 6:12:56 AM UTC-7, Anton Aylward wrote:
>
> Eric Shulman said the following on 10/20/2013 10:05 PM: 
> > 
> >     What are those breaks being inserted? 
> > 
> > 
> > If http://www.TiddlyTools.com/#HTMLFormattingPlugin is installed (to 
> > permit "mixed mode" wiki+HTML syntax), it will affect the way linebreaks 
> > are handled within HTML blocks.   You can prevent this by adding "<hide 
> > linebreaks>" or "<nowiki>" to your HTML content. 
> > 
> > See http://www.TiddlyTools.com/#HTMLFormattingPluginInfo for details. 
>
> I'll certainly look into that, Eric, but I want to emphasise one thing. 
>
> There are *NO* line breaks in the HTML I'm supplying. 
> They are being inserted by the plugin. 
>
> If I take the content of my template and use it as a plain html file and 
> view that in firefox it comes out laid out the way I expect, no 
> superfluous spacing. 
>
> As I said, when I went in with the debugger to the 
> TiddlyWiki/plugin-transformed version there were ADDED line breaks - 
>
>         <span> 
>             <br ></br> 
>             <br ></br> 
>          </span> 
>
> That's very idiomatic, the space after the "br" and putting it in a 
> span. I most definitely do not write HTML like **THAT**!!! 
>
> So I ask, will the HTMLFormattingPlugin eliminate line breaks and the 
> span generated by another plugin?  Will the order of invocation matter? 
>
> -- 
> It is therefore not unreasonable to suppose that some portion of the 
> neglect of science in England, may be attributed to the system of 
> education we pursue. 
>     -- Charles Babbage 
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to