Skip to content

Sanitize dartdoc's HTML output. #5181

New issue

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

Closed
wants to merge 1 commit into from
Closed

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Oct 14, 2021

No description provided.

@isoos isoos requested a review from jonasfj October 14, 2021 11:18
@google-cla google-cla bot added the cla: yes label Oct 14, 2021
visit(c);
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is sufficient, we need to allow list tags, attributes and possibly even validate attribute values.

@isoos
Copy link
Collaborator Author

isoos commented Oct 20, 2021

Closing as dart-lang/dartdoc#2833 will do this much better.

@isoos isoos closed this Oct 20, 2021
@isoos isoos deleted the sanitize branch October 20, 2021 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants