[Pmwiki-users] vspace paragraphs
Patrick R. Michaud
pmichaud
Thu Nov 4 15:53:49 CST 2004
On Thu, Nov 04, 2004 at 10:34:50PM +0000, Val Sharp wrote:
> One can always use DIVs instead, since they can contain block or
> inline elements ... bare text can go directly into them, and be
> interspersed with block elements. Doesn't say anywhere that one has to
> use a P for blocks of text.
Sure, but then, believe it or not, people complain when they don't see
the <p> tags around the paragraphs. And <div> doesn't always work as
a direct replacement for <p>--there are some slight differences.
> (Using a P and restricting content to inline elements for something
> like wikitrails can also make customising a little harder too. I went
> a little crazy and tried returning </p><div>...etc...</div><p> from
> MakeTrailStop, till sense got the better of me :-)
PmWiki 2 may yet become still smarter about this sort of thing, by not
putting paragraph tags around anything that has non-inline tags in it.
I'll have to do this because of the way that search results and the
like are generated.
Pm
More information about the pmwiki-users
mailing list