[ewiki] Re: table-formatting (ii)

> Mario, you were right. I had a space behind the last '|' in the line that 
> wasn't rendered. Since it obviously wasn't intuitive for me to check for 
> whitespaces at the end of the line, I guess that others run into the same 
> problem, too. What do you think about the below addition, removing everything 
> in a line after the last occurrence of a '|'?

I've recently discovered a 'feature' in other WikiWare, which allows
to get any spaces at the end of lines stripped out, when saving a
page. That is, it was implemented as checkbox below the edit/ page,
which I personally wouldn't like (that's UI bloat) - so an automatic
conversion was superiour.

However I wouldn't generally allow that for table markup, because, then
we could no longer speak ABOUT table markup like this:
<code>
\n
| 1 | 2 | 3 |  makes a table in WikiMarkup\n
\n
</code>

But, eventually we could enhance the table markup, by only requiring
the first line to be correct - all following lines only required
the leading | dash to get rendered as table rows. So this further
became a table also:
<code>
\n
| 1 | 2 | 3 |\n
| a | b | c     \n
\n
</code>

mario

Other related posts: