Are you using UTF in the headers?  According to specs, anchors can
only take a certain subset of ASCII chars. I suppose we could change
%encode them by changing sedit.php line 76 to get rid of the '%' from
the array, and changing line 79 from

        return strtolower($text);

to

        return BOLTutf2url($text);

The one other thing we need to do is change the core markups.php
definition to allow %. This means, changing line 44 in markups.php to

MarkUp('links', 'anchors', '/\[\[\#([-_a-zA-Z0-9%]+)\]\]/e',
'BOLTescape("<a name=\'$1\'></a>")');  // [[# ]]

I just made this last change in the core. If you will try the
suggested changes in sedit (plus the markups change) and let me know
if it works, I'll update the sedit plugin.

I would test more but I'm having a REALLY hectic week, and it's not
going to get better for awhile...  Thanks!

Cheers,
Dan


On Thu, Mar 12, 2009 at 9:23 PM, Linly <[email protected]> wrote:
>
> In a fresh install, the title heading h1 ~ h5 are normal, but after
> installing the sedit plugin, h3, h4 and h5 would got a "Invalid link."
> in front of the headings. H1 and h2 are ok.
>
> Cheers, linly
> >
>

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