Hi !
I have installed HTMLFormattingPlugin from http://www.TiddlyTools.com/#HTMLFormattingPlugin .
It works fine indeed, but I see an unexpected behaviour, probably because of a misunderstanding of mine.
A tiddler containig
<HTML>
<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
</HTML>
when the plugin is disabed looks like
and like, instead, when it is enabled this way
Please, can you suggest a solution ?
Hi!
The issues is with line breaks. This is from the HTMLFormattingPluginInfo:
"Even though you can use HTML tags within your tiddler content, the default treatment for line breaks still follows the Wiki-style rule (i.e., all new lines are displayed as-is). When adding HTML content to a tiddler (especially if you cut-and-paste it from another web page), you should take care to avoid adding extra line breaks to the text."
Just remove the line breaks between the HTML tags and it will be fine.
If removing all the extra line breaks from your HTML content would be a big hassle, you can quickly override the default Wiki-style line break rule so that the line breaks use the standard HTML rules, by placing <hide linebreaks> anywhere within the HTML content. This automatically converts all line breaks to spaces before rendering the content, so that the literal line breaks will be processed as simple word-breaks instead.
<HTML>
<hide linebreaks>
<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
</HTML>