(type)
| 256 | return cont(attributes); |
| 257 | } |
| 258 | function attribute(type) { |
| 259 | if (type == "equals") return cont(attvalue, attributes); |
| 260 | if (!Kludges.allowMissing) setStyle = "error"; |
| 261 | else if (type == "word") setStyle = "attribute"; |
| 262 | return (type == "endTag" || type == "selfcloseTag") ? pass() : cont(); |
| 263 | } |
| 264 | function attvalue(type) { |
| 265 | if (type == "string") return cont(attvaluemaybe); |
| 266 | if (type == "word" && Kludges.allowUnquoted) {setStyle = "string"; return cont();} |