On 14 ago, 23:26, "alinome.net" <[EMAIL PROTECTED]> wrote:
> Now I'm testing the new paragraph
> markup to find problems, but I think I'm on the right way.

Here I am again with my favourite subject: WikiCreole sintax for
paragraphs and linebreaks. I've almost succeeced! I've just solved
another problem: paragraphs were not recognized after headers or
lists. The solution I've found is very simple: adding two empty lines
("\n\n") after those markups:

MarkUp('fmt', 'headers', '/(^|>)(!{1,6})(.*)\n?/me',
'BOLTMheaders("$2", "$3", "$1")."\n\n"');  // BoltWire headers
MarkUp('fmt', 'headers2', '/(^|>)(={1,6}) (.*)\n?/me',
'BOLTMheaders("$2", "$3", "$1")."\n\n"'); // WikiCreole headers
MarkUp('fmt', 'lists', '/(^|\n)((([*#]+ |[=]+ ?)(.*?)(\n|$))+)/se',
'BOLTMbullets("$2", "$1")."\n\n"');

Cheers,
Marcos

--
http://alinome.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to