I’d like to preserve the spaces in the strings below (before 222 and 333) such that 222 and 333 look indented as compared to 111, but I’m not sure how to accomplish this without doing a replace operation with  .
New-UDButton -Text "Show Modal" -OnClick {
Show-UDModal -Header {
New-UDHeading -Size 3 -Text "Test Definition YAML"
} -Content {
new-udcard -endpoint {
$lines = @("111", " 2222", " 333")
foreach ($line in $lines) {
New-UDElement -Tag "div" -Content { "$line" }
}
}
}
}