TiddlyWiki.org

Ticket #431 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

Transcluding sections inserts unnecessary line breaks

Reported by: MartinBudden Assigned to: MartinBudden
Priority: minor Milestone: 2.3.1
Component: core Version:
Severity: medium Keywords:
Cc:

Description

Transcluding sections inserts unnecessary line breaks, which can be annoying.

Take these two tiddlers ("Slices" and "Test", respectively):


!Foo
This is @@Foo@@.
!Bar
This is @@Bar@@.
!Baz
This is @@Baz@@.

# <<tiddler Slices##Bar>>
# xxx<<tiddler Slices##Bar>>xxx
# xxx<<tiddler "Slices##Bar">>xxx
# xxx<<tiddler [[Slices##Bar]]>>xxx
# xxx<<tiddler Slices##Boo>>xxx
<html>
<style type="text/css">
#tiddlerTest li {
    margin: 10px;
    border: 1px solid #AAA;
    padding: 5px;
    background-color: #EEE;
}
</style>
</html>

The first list item in "Test" will look like this:

1.

This is @@Foo@@.

There seems to be no way to get rid of that line break.

(Thanks to Fred for the bug report.)

Attachments

ticket431.patch (0.7 kB) - added by MartinBudden on 13/12/07 13:26:13.

Change History

13/12/07 11:25:28 changed by MartinBudden

  • owner changed from JeremyRuston to MartinBudden.

13/12/07 13:26:13 changed by MartinBudden

  • attachment ticket431.patch added.

13/12/07 13:26:25 changed by MartinBudden

  • status changed from new to assigned.

30/01/08 15:17:25 changed by JeremyRuston

  • status changed from assigned to closed.
  • resolution set to fixed.

Note that this patch also fixes an unrelated issue by ensuring that trailing spaces are stripped from the end of section names.

Fixed in changeset:3448