Alex,

Thank you for your patience. And thank you for the explanations.
What I did was check the code that was the closest to what I wanted, it was the code for the <video> tag, and tried to understand how it was working, and, well, I did not understand everything :)

Ok, I have something that works. Here is a screenshot:


I have a normal table, with an embedded table in the first cell of the second row and all the style is properly applied.

Also, the Edit / Reply /  Revision History / admin items (which are also tables) are not affected by the style :)

Here is diff for the whole setting.

Attachment: tableStyle.diff
Description: Binary data


Jean-Christophe 

On Jan 4, 2019, at 20:42, Alexander Burger <a...@software-lab.de> wrote:

Hi Jean-Christophe,

I'm not good in CSS, so lets assume your proposal is correct, then

("%"  # Table
  (let Nm (till "}" T)
     (prin "<table class=\"wiki\">")
     (ht:Prin Nm)
     (prin "</table>" ) ) )

this will not work, as (let Nm (till "}" T) ... terminates on the *next*
"}", but the table elements are nested.


Can you try this:

  ("%"  # Table
     (prin "<table class=\"wiki\">")
     (recurse T)
     (prin "</table>") )


A legal table would be e.g.

  %{
     ~{ |{a1} |{a1} |{a1} }
     ~{ |{b1} |{b1} |{b1} }
  }


Sorry for the hassle.

No problem! :)
☺/ A!ex

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune


Reply via email to