I am trying to render Blazor components, but Blazor adds the "blazor:elementreference" attribute which changes every time we run the tests using bUnit.
Generated code:
<span style="font-size: 12px; text-align: center; margin: 0 auto; display: table" blazor:onclick="1" blazor:elementreference="e35f1ea4-22ae-4c45-8d3b-4f6f07877f10">Test value</span>
In this case, this result is rendered by the following code:
<Blazorise.Text Style="@TextStyle">@Text</Blazorise.Text>
Before submitting a potential PR to update the docs, would you be interested in this?
HtmlPrettyPrint.All(nodes => nodes.ScrubAttributes("blazor:elementreference"));