This one is difficult to explain without being able to demo because it is rather dynamic
Create a new topic or delete everything in an old.
Open it is Wysiwyg
Now write some text. What you write must all the time be the last line. And use the link button at the top menu to create a link. Just pick some topic to link to.
Write a line which will
look like this
The first two example are OK. But when you make an entire line a link it goes wrong. I first noticed when I wanted to make a ---++ line a link (Quite common)
Now write a
line that looks like this
Finally make a full line which is a link
What you get now are two lines.
The first is the link to point to defined as a link and with the visible text equal to the link.
On the line below you see your text line also as a link to the topic you selected.
If there is an empty line or any text below then it does not happen.
But when you write the line of text you write is the last line.
An additional nag is that it is almost impossible to get rid of the link on the last line. If you unlink - also the line above gets unlinked.
I looked at the code that gets generated in HTML mode and it seems there is a set of </P> that gets nested inside each other.
<P><A href="/dakar/bin/view/Sandbox/TestTopic3" class="generated">TestTopic3
<P>Hej med dig</P></A></P>
KJL
And again it is a problem only in Internet Explorer
KJL
I said that too early. If you make a last line as a link in Firefox and then press ENTER you get a new line which does not appear to be a link but this is the actual TML that gets saved.
[[TestTopic2][
fddasfdsafasf fdfdsfsdf]]
dsdasdasddsad<br />sadasdasdas<br />dasdasdasda
Why does it add breaks instead of a new line?
KJL
A newline is not the same as a line break. TWiki (HTML) ignores newlines.
CC
OK, I rewrote the link handling stuff to leverage the fixes in Kupu1.3.2 and it looks OK now.
SVN 7858
CC