[dokuwiki] Re: Syntax change?

If the preferred behavior is to automatically close the markup, and if 
unmatched pairs are technically incorrect, what about a solution that 
automatically inserts the markup after an edit? Perhaps with a warning, 
perhaps optionally. That way the source could always be correct, and match 
its output, even for non-html exports. (There'd never be unmatched tags in 
the source)

But personally, I'd leave it alone--it's not hard to work with now, and 
requiring closing tags is pretty common. Besides, who's to say that the end 
of a paragraph is where the user would _want_ to close the tag? It's likely 
to be wrong anyway.

Todd Augsburger
todd@xxxxxxxxxxxxxxxx
Roller Organs
www.rollerorgans.com


----- Original Message ----- 
From: "Sebastian Menge" <s.menge@xxxxxx>
To: <dokuwiki@xxxxxxxxxxxxx>
Sent: Saturday, October 20, 2007 6:26 AM
Subject: [dokuwiki] Re: Syntax change?


Am Fri, 19 Oct 2007 14:53:33 -0700 schrieb chris:

> Andreas Gohr wrote:
>> The advantage I see in this behavior is that it would be a cure against
>> runaway markup. When you forget to close a formatting syntax it would
>> no longer destroy the whole page but would just format the affected
>> paragraph.
>>
>> Any objections?
>
> Personally, I prefer incorrect markup "destroying" the page... this way
> I know there is a mistake. ie. I prefer that a missing closing tag would
> produce some noticeable affect, and not just behave like all is normal.

I agree, it would be nice to notice. but as it's a local problem a
warning would be more adequate.

I like the proposal.

S.

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: