[Framework-Team] Re: wicked stuff
Alexander Limi
limi at plone.org
Mon Jul 16 01:40:48 UTC 2007
On Tue, 10 Jul 2007 12:12:13 -0700, whit
<d.w.morriss at gmail.com> wrote:
> I also added multiple pattern support( ie [[]] or (()) ). Whichever
> pattern matches first is used for the whole block of text. I'm not sure
> this is the preferred behavior, but it was much faster to implement(and
> the code is easier to read than the regexes). Perhaps someone knows an
> alternating regex that will work with the existing code.
This confused me at first, since one of the formats was working, but not
the other — and until I read your post, I didn't understand why. I guess
it's unlikely to come up in real-life, but people on plone-dev (CCed) know
a regexp that would match on both. :)
I also tried slimming down the markup and making it consistent with how
other wikis work, as well as the Plone link class standard (non-existant
pages are red, add links have the entire link clickable, but with a
superscript "+" etc).
The one thing I'd like to know is whether the ID hashes are actually used
for anything, or whether they can be removed, example:
<span id="text-158e812d9c8a44b0f659186cd9825cdf">
<a class="link-wiki"
href="contact-the-plone-team">contact the Plone Team</a>
</span>
I'd like to get rid of the stray <span> tag, so either putting the id on
the link tag itself — or remove it altogether if it isn't used — any
comments on whether this would break anything?
--
Alexander Limi · http://limi.net
More information about the Framework-Team
mailing list