(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-5) was last changed on 15-May-2008 16:02 by Isonomia  

This page was created on 28-Apr-2008 13:51 by Isonomia

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 13 added 18 lines
-- Anonymous
This wiki supports it, because it is a mixed mode filter and the underling JSPWiki markup supports it, see [[Creole1.0#BoldItalics]]. However [[Creole1.0#Bold Italics]] does not work because it has blanks in it. Clearly for usability there should be a standardization of that. JSPWiki and Mediawiki obviously already use the same syntax. What syntax do other engines use?
-- [[ChristophSauer]], 2008-Mai-04 08:59 (CEST)
Suggest ignoring illfitting labels except where a space should be converted to '_' (anyway that's what I've done!)
{{{ if (preg_match('/^[a-zA-Z][a-zA-Z0-9\-\s_\.:]*$/',$title))
{
append('<h' . $hc . ' id=' . preg_replace('/[^a-zA-Z0-9\-\s_\.:]/', '_', $title) . '>' . $title.'</h'.$hc.">\n");
}
else
{
append('<h' . $hc . '>' . $title.'</h'.$hc.">\n");
}
}}}
-- [[Isonomia]], 2008-Mai-13
Version Date Modified Size Author Changes ... Change note
5 15-May-2008 16:02 1.438 kB Isonomia to previous suggestion
4 04-May-2008 08:59 1.019 kB ChristophSauer to previous | to last thoughts on standardisation
3 28-Apr-2008 22:34 0.577 kB Isonomia to previous | to last Thanks
2 28-Apr-2008 15:23 0.332 kB YvesPiguet to previous | to last Reply
1 28-Apr-2008 13:51 0.275 kB Isonomia to last
« This page (revision-5) was last changed on 15-Mai-2008 16:02 by Isonomia