Autor Beitrag
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 20.10.06 00:06 
Wenn man in einem Post folgende Situation hat:

ausblenden Quelltext
1:
<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>Zitat:</b></span></td>  </tr>  <tr>    <td class="quote">#</td>  </tr></table>					


und die # der Cursor ist, so ergibt sich korrekt

ausblenden Quelltext
1:
2:
3:
<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>Zitat:</b></span></td>  </tr>  <tr>    <td class="quote"></td>  </tr></table>#

<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>Zitat:</b></span></td>  </tr>  <tr>    <td class="quote"></td>  </tr></table>


Klickt man nun wiederholt auf SplitQuote, so erhält man

ausblenden Quelltext
1:
2:
3:
<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>Zitat:</b></span></td>  </tr>  <tr>    <td class="quote"></td>  </tr></table>

[quote#][/quote]


Was inkorrekt ist: Da der Cursor außerhalb eines Zitats ist, dürfte er gar nicht bewegt werden. Noch kurioser ist aber das Ergebnis nach Schritt 2:

ausblenden Quelltext
1:
2:
3:
<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>Zitat:</b></span></td>  </tr>  <tr>    <td class="quote"></td>  </tr></table>

[quote][/quote#]

und im dritten Schritt dann:
ausblenden Quelltext
1:
2:
3:
4:
5:
<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>Zitat:</b></span></td>  </tr>  <tr>    <td class="quote"></td>  </tr></table>

<table width="98%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>    <td><span class="genmed"><b>Zitat:</b></span></td>  </tr>  <tr>    <td class="quote">[/quote</td>  </tr></table>#

[quote]]

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.