mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00447
[Bug 547963] Re: pieforms fieldset makes legend ids starting with numbers (invalid xhtml)
Hi Penny,
Do you remember which branch you fixed this on? Also, instead of
replacing all of the digits with 'a', why not just prepend the letter
'a' to the id string?
** Changed in: mahara
Assignee: Nigel-catalyst (nigel-catalyst) => (unassigned)
** Changed in: mahara
Milestone: None => 1.3.0
--
pieforms fieldset makes legend ids starting with numbers (invalid xhtml)
https://bugs.launchpad.net/bugs/547963
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Status in Mahara ePortfolio: Confirmed
Bug description:
This really is a pieforms bug, but I don't know where to file those.
htdocs/lib/pieforms/pieform/elements/fieldset.php
$id = substr(md5(microtime()), 0, 4);
I made a temporary workaround with
$id = preg_replace('/[0-9]/', 'a', $id);
Which is probably not unique enough...
This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=3134&group_id=176&atid=739