This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| It 'creates paragraph with embedded new line' { | |
| $expected = '<div>Embedded<br />New Line</div>'; | |
| $paragraphText = 'Embedded{0}New Line' -f [System.Environment]::NewLine | |
| $result = Paragraph $paragraphText | OutHtmlParagraph; | |
| $result | Should BeExactly $expected; | |
| } | |
| It 'creates a tabular table cell with an embedded new line' { | |
| $licenses = 'Standard{0}Professional{0}Enterprise' -f [System.Environment]::NewLine |
OlderNewer