Product: PowerShell Universal
Version: 4.0.1
Links ignore their -content
parameter in favour of the default value of their -Text
parameter (which is "Ironman Software"
).
Github issue #2490 opened for this here.
Repro Steps
Create a new link element and pass it a -Url
and a -Content
(or -Children
) argument. Such as in the example below from the Live Docs:
New-UDLink -Url "https://www.google.com" -Content {
New-UDImage -Url "https://www.ironmansoftware.com/img/ps-logo.png" -Height 20 -Width 20
} -Id 'link7'
Expected behavior
The content is rendered and the default value of the `-Text` parameter (`"Ironman Software"`) is ignored.
Actual behavior
The content is ignored in favour of rendering the default `-Text` parameter