[pmwiki-users] very small definition list (mis-)feature request
Patrick R. Michaud
pmichaud at pobox.com
Thu Sep 28 21:35:18 CDT 2006
On Fri, Sep 29, 2006 at 02:03:46PM +1200, John Rankin wrote:
> On Friday, 29 September 2006 11:18 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >On Fri, Sep 29, 2006 at 09:57:22AM +1200, John Rankin wrote:
> >> While browsing pmwiki.php 2.1.25 source (as you do),
> >> I noticed near the end of function Block the line:
> >> $out .= ... .'<dd>';
> >> Whatever this does, it will break wikipublisher.
> >So, I propose to switch the Block function to use <div class='indent'>
> >instead of <dl> for any skipped indentation levels. This would
> >entirely eliminate the need for the hardcoded <dd> tag, make
> >the overall HTML cleaner, and move PmWiki even closer to being
> >markup agnostic.
> So it would use something like: $BlockMarkups['indent'] ?
> That should work for us, as we redefine the $BlockMarkups
Yes, this is what it would. Currently it's using
$BlockMarkups['dl'], which is really intended for use
with the definition markup (and the definition markup normally
adds the <dt>...</dt><dd> tag).
> Maybe pmwiki needs a display symbol that indicates
> "Um, did you *really* mean to write that?" and a markup
> directive to tell pmwiki "butt out; I know what I'm doing".
We could make this happen if it's important to do so, but
I suspect things are largely okay the way they are.
I don't think anyone has ever remarked or complained about
the skip-level markup.
> Not to be confused with a certain Word processor that
> issues "Silly you, of *course* you didn't mean that;
> I'll go ahead and change it for you". Leaving the
> poor writer looking for the menu option that means
> "Excuse me? Who is in charge here? Don't *do* that!"
Ugh, I just detest systems that insist that they know
more than I do about whatever it is I'm trying to do. :-)
More information about the pmwiki-users