[jQuery] Metadata and firefox 3.1beta2

2009-02-04 Thread maxbnet


Firefox 3.1b2 has a problem with \n.

Test OK


Test KO


you can use this solution to fix this bug:

cre.exec( string.replace("\n","") );


[jQuery] Re: Metadata and firefox 3.1beta2

2009-02-05 Thread maxbnet

if someone is interested

https://bugzilla.mozilla.org/show_bug.cgi?id=476809



[jQuery] [FIX] metadata fix proposed

2009-02-06 Thread maxbnet

Firefox 3.1b2 returns classname with \n.

All other browsers don't.

In metadata plugin the default regexp is

/({.*})/

I fixed this problem with this regexp

/({[\s\S]*})/

so

   defaults : {
type: 'class',
name: 'metadata',
//cre: /({.*})/,
cre: /({[\s\S]*})/,
single: 'metadata'
}

my report is here.

https://bugzilla.mozilla.org/show_bug.cgi?id=476809

Thank you.