This is actually a really silly problem that's been bugging me too.
You see, tabbing is supposed to be handled by CSS. We shouldn't be it.
If they use a real tab (as in \t), then that's easy to handle. If they use spaces, that's a bit harder.
Code: Select all
Is this tabbed?
Is this tabbed? Tabbed more?
This isn't tabbed right but...
Is it a seperate paragraph?
Does this parse to..
Code: Select all
<p class="e;indent"e;>Is this tabbed?</p>
<p class="e;indent"e;>Is this tabbed? Tabbed more?</p>
<p>This isn't tabbed right but...</p>
<p class="e;indent"e;> Is it a seperate paragraph?</p>
or perhaps...
Code: Select all
<p class="e;indent"e;>Is this tabbed?</p>
<p class="e;indent_two"e;>Is this tabbed? Tabbed more?</p>
<p>This isn't tabbed right but...</p>
<p class="e;indent"e;> Is it a seperate paragraph?</p>
Which means you also have to define indent_three and indent_four etc.
It's mind boggling, methinks.
Oh wait, you people use <BR>s, don't you?