kripken/emscripten — pull request #727 by normanrz (2012-11-22 17:07:21+00:00)
Title: scanf doesn't work with HTML hex color codes

I was trying to use hex color codes in [viz.js](https://github.com/mdaines/viz.js) and got parsing errors.

There is a problem in Emscripten's `sscanf` if you have a format string like `#%2x%2x%2x` where parameters have fixed length but no whitespace in between.

I attached a fix for that. It includes a small test case which reproduces it.