(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 19 added 12 lines
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