Something like this can be added to config.php in order to wrap the table cell text in <p> even if it starts on the same line:

 Markup('cell+para', '<split',
   '/^(\\(:(?:cell|head)(?:nr)?(?:\\s.*?)?:\\))\\s*(\\S.*)$/im',
   "$1\n$2");

Petko

Oliver Betz writes:
any comment on this?

>two observations:
>
>1. If I put the content of an advanced table cell in a new line below
>the (:cell:) directive, the following text is wrapped in <p> in the
>HTML output:
>
>(:table:)
>(:cell:)
>with <p>
>(:cell:)without <p>
>(:tableend:)
>
>Is this suitable / intended?
>
>2. In a cell with more than one paragraph, the first "paragraph" has
>no <p> tags if the text is in the same line as the (:cell:) directive:
>
>(:table:)
>(:cell:)Without <p>
>
>But second paragraph is in <p>
>(:cell:)...
>(:tableend:)
>
>IMO that's not clean, both text portions should be <p>.

Oliver
--
Oliver Betz, Muenchen (oliverbetz.de)


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to