Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12702 closed bug (notabug)

$(string) somethings not right

Reported by: 丁雷 shanghai, [email protected] Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

$(string) changed string uppercase to lowercase: example: var xx = '<div><table><tr><td><input type="text" positiveNumber="true"/></td></tr></table></div>'; console.log(xx); xx = $(xx); console.log(xx.html()); summary: it makes positiveNumber to positivenumber

Change History (2)

comment:1 Changed 10 years ago by Christian Meixner <[email protected]…>

HTML-attributes are not case sensitive in html5. So only user lower case attributes.

comment:2 Changed 10 years ago by mikesherov

Component: unfiledattributes
Priority: undecidedlow
Resolution: notabug
Status: newclosed

Christian Meixner is correct.

Note: See TracTickets for help on using tickets.