umar-qureshi2 / fizzler

Automatically exported from code.google.com/p/fizzler
GNU General Public License v3.0
0 stars 0 forks source link

Parse attributes with : #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Be able to parse attributes in an element that contain : (colon) in it.

Example
document.QuerySelectorAll("meta[property=og:url]")

to find
<meta property="og:url" content="" />

Many website use this because of Facebook

Original issue reported on code.google.com by in...@frontur.com on 27 Oct 2011 at 3:39

GoogleCodeExporter commented 9 years ago
To fix this, I added this patch
http://code.google.com/p/fizzler/issues/detail?id=44&colspec=ID%20Type%20Status%
20Priority%20Milestone%20Component%20Owner%20Summary

And then in Tokener.cs I changed IsNmChar to IsNmHashChar in line 49, see 
attachement

Original comment by in...@frontur.com on 27 Oct 2011 at 4:02

Attachments: