(tagName, attributes)
| 3290 | var writer = simpleWriter(); |
| 3291 | |
| 3292 | function open(tagName, attributes) { |
| 3293 | if (indentedElements[tagName]) { |
| 3294 | indent(); |
| 3295 | } |
| 3296 | stack.push(tagName); |
| 3297 | writer.open(tagName, attributes); |
| 3298 | if (indentedElements[tagName]) { |
| 3299 | indentationLevel++; |
| 3300 | } |
| 3301 | start = false; |
| 3302 | } |
| 3303 | |
| 3304 | function close(tagName) { |
| 3305 | if (indentedElements[tagName]) { |
no test coverage detected