(nextTagName)
| 235 | }; |
| 236 | } |
| 237 | function maybePopContext(nextTagName) { |
| 238 | var parentTagName; |
| 239 | while (true) { |
| 240 | if (!curState.context) { |
| 241 | return; |
| 242 | } |
| 243 | parentTagName = curState.context.tagName.toLowerCase(); |
| 244 | if (!Kludges.contextGrabbers.hasOwnProperty(parentTagName) || |
| 245 | !Kludges.contextGrabbers[parentTagName].hasOwnProperty(nextTagName)) { |
| 246 | return; |
| 247 | } |
| 248 | popContext(); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | function attributes(type) { |
| 253 | if (type == "word") {setStyle = "attribute"; return cont(attribute, attributes);} |