(element, messages, options)
| 382 | } |
| 383 | |
| 384 | function convertTableCell(element, messages, options) { |
| 385 | var tagName = options.isTableHeader ? "th" : "td"; |
| 386 | var children = convertElements(element.children, messages, options); |
| 387 | var attributes = {}; |
| 388 | if (element.colSpan !== 1) { |
| 389 | attributes.colspan = element.colSpan.toString(); |
| 390 | } |
| 391 | if (element.rowSpan !== 1) { |
| 392 | attributes.rowspan = element.rowSpan.toString(); |
| 393 | } |
| 394 | |
| 395 | return [ |
| 396 | Html.freshElement(tagName, attributes, [Html.forceWrite].concat(children)) |
| 397 | ]; |
| 398 | } |
| 399 | |
| 400 | function convertCommentReference(reference, messages, options) { |
| 401 | return findHtmlPath(reference, htmlPaths.ignore).wrap(function() { |
nothing calls this directly
no test coverage detected