Arc Acorn said the following on 10/21/2013 11:01 AM:
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>
I hear what you're saying, and wonder why a plugin should require that
the HTML is in a user-unfriendly and unmaintainable format.
I'll try out converting the template to a one-liner, but I think you are
wrong.
The reason I think you are wrong is that I can look at other *Template
tiddlers, the ViewTemplate and the EditTemplate and many other example
templates that arise from Eric's advice elsewhere in this thread.
But more to the point, when I look at the examples for using the
FormTiddlerPlusing at http://tiddlywiki.abego-software.de such as
BiggerFormtemplate and ContactsTemplate are laid out in readable style
rather than the all-in-one-line-with-no-breaks style and they work and
they do not, when I run the debugging tools on them, have extra breaks
inserted.
The don't have Eric's "<hide linebreaks>" inserted either and that site
doesn't have the HTMLFormattingPlugin installed.
So I'm back to the "why me?" point. Why do I get all those extra line
breaks?
--
Power, money, persuasion, supplication, persecution -- these can
lift at a colossal humbug--push it a little--weaken it a little
over the course of a century; but only laughter can blow it to
rags and atoms at a blast. Against the assault of laughter
nothing can stand. -- Mark Twain
--
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.