2009/3/1 The Editor <[email protected]>:

> Seems a mistake in my regex pattern. Sorry about that.  This seems to
> fix it (markups.php ~48)
>
> MarkUp('block', 'styles',
> '/(&lt;|<)(div|p|span|box|font)(.*)>([\s\S]+)(&lt;|<)\/\2>/Use',
> 'BOLTMstyles("$2", "$3", "$4", "$5")');  // <div>
>                                                                 remove ? here

Now the pattern is too aggressive and swallows the next tag.

It breaks my skin header:

[if ! equal {p1} action]<div class="pagegroup">[(breadcrumb name=none)]</div>
<div class="pagetitle"><h1>[[{p}|{title}]]</h1></div>[if]

the <h1> tag is swallowed with changing to your suggested styles markup.

~Hans

--~--~---------~--~----~------------~-------~--~----~
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