Sword-Breaker / 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 8 years ago

GoogleCodeExporter commented 8 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 8 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:

GoogleCodeExporter commented 8 years ago
This issue has been migrated to:
https://github.com/atifaziz/Fizzler/issues/50
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it is 
shutting down.
You can also just subscribe to the issue on GitHub to receive notifications of 
any further development.

Original comment by azizatif on 23 Aug 2015 at 1:34