Skip to content

Instantly share code, notes, and snippets.

@jashkenas
Created April 12, 2012 20:51
Show Gist options
  • Save jashkenas/2370907 to your computer and use it in GitHub Desktop.
Save jashkenas/2370907 to your computer and use it in GitHub Desktop.
attributeValueDoubleQuoted =
QUOTE: afterAttributeValueQuoted
"&": charRefInAttributeValue
NULL: (error) ->
token.pushAttributeValue(REPLACEMENT)
EOF: (error) ->
data
default: ->
token.pushAttributeValue(char)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment