(path, options, print)
| 605 | } |
| 606 | |
| 607 | function printCloseBlock(path, options, print) { |
| 608 | const { node } = path; |
| 609 | |
| 610 | if (options.htmlWhitespaceSensitivity === "ignore") { |
| 611 | const escape = blockStatementHasOnlyWhitespaceInProgram(node) |
| 612 | ? softline |
| 613 | : hardline; |
| 614 | |
| 615 | return [ |
| 616 | escape, |
| 617 | printClosingBlockOpeningMustache(node), |
| 618 | print("path"), |
| 619 | printClosingBlockClosingMustache(node), |
| 620 | ]; |
| 621 | } |
| 622 | |
| 623 | return [ |
| 624 | printClosingBlockOpeningMustache(node), |
| 625 | print("path"), |
| 626 | printClosingBlockClosingMustache(node), |
| 627 | ]; |
| 628 | } |
| 629 | |
| 630 | function blockStatementHasOnlyWhitespaceInProgram(node) { |
| 631 | return ( |
no test coverage detected
searching dependent graphs…