|
|
Re: [cowiki-dev] Re: Tables: msg#00025
|
Subject: |
Re: [cowiki-dev] Re: Tables |
Archie--
I'm really unclear about exactly how you're changing the table syntax.
Maybe you could show the source text and how you believe it should be
rendered as an html table that I can view? (Unlike Daniel's news
reader, mine renders html correctly. <g>)
Paul
Archie Campbell wrote:
I'm
in process of replacing the table generator in class.WikiParser.php. It
now processes the following without problems...
<table>
|-
| Cell 1, row 1
|rowspan=2|
* list
* list2
| Cell 3, row 1
|-
| Cell 1, row 2
| Cell 3, row 2
</table>
<table border="1" cellpadding="2">
|+Multiplication table
|-
! * !! 1 !! 2 !! 3
|-
! 1
| 1 || 2 || 3
|-
! 2
| 2 || 4 || 6
|-
! 3
| 3 || 6 || 9
|-
! 4
| 4 || 8 || 12
|-
! 5
| 5 || 10 || 15
</table>
However, the change has temporarily broken the "&cmd=xmldoc"
target, and I'm not sure of any way to ReverseParse without maximally
expanding the syntax. i.e. all contents on separate lines like
|params|
cellcontent
|params|
cellcontent
In a perfect world I suppose the table reverseparser would test each
content for hairiness (lists, justification etc) and use separate lines
as required. More on this as I encounter it.
This is no great hardship, though it does highlight one of the wierder
aspects of coWiki: we must parse and reparse each document.
If someone knowledgeable could list files involved in cmd=xmldoc, I'd
be much obliged. (dtg?)
I'm off to see Jesus Christ Superstar now; my brother is directing a
musical tonight.
Regards,
Archie
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxx
|
|
| |