We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following test passes:
const string input = "<p><strong>Sample</strong></p>text<ul><li>One</li><li>Two</li><li>Three</li></ul>"; const string expected = "<span><p></p>text</span>"; var actual = input.SanitiseHtml(); actual.Should().Be(expected);
but it is removing all content within the <ul> and <strong> tags, rather than just the tags themselves.
<ul>
<strong>
This method is to handle html as per https://iiif.io/api/presentation/3.0/#45-html-markup-in-property-values - should the content be left as-is but tags removed? Or does it make sense to remove content too?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following test passes:
but it is removing all content within the
<ul>
and<strong>
tags, rather than just the tags themselves.This method is to handle html as per https://iiif.io/api/presentation/3.0/#45-html-markup-in-property-values - should the content be left as-is but tags removed? Or does it make sense to remove content too?
The text was updated successfully, but these errors were encountered: