Skip to content

From v1.12.6 onwards GetAttribute("src") or GetAttribute("srcdoc") truncates output #947

@brettwinters

Description

@brettwinters

Not sure if this is related to #946

From v1.12.6 onwards, cut.Find("iframe").GetAttribute("srcdoc") truncates src or srcdoc

<iframe srcdoc="@("<div style=\"margin: 10px\">aA Name</div>")"></iframe>
Assert.Equal(
    expected: "<div style=\"margin: 10px\">aA Name</div>",
    actual: cut.Find("iframe").GetAttribute("srcdoc")
);

Test fails from v1.12.6 onwards, outputting "<div style="

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions