Closed nawafnaim closed 10 years ago
Maybe a better way to approach this is to introduce an optional NodeValidatorBuilder parameter in the Base constructor to allow users to define their own allowed attributes. I see many use cases for this.
I have introduced an optional NodeValidatorBuilder field to tooltip.dart and popover.dart so that users can insert their own html tags to popovers without Dart sanitizing them. I wish one of the admins review this pull request. Thank you.
From git diff, it marked every line as changed. It is hard to track what really happens. I think it is caused by CR/LF vs LF issue. I added .gitattributes to enforce the use of LF. Please redo the submit and pull request. Thanks.
I've redid and resubmitted the pull request. Thanks.
Invalid
Changed _cnt to set content value using a NodeValidatorBuilder to allow hyperlinks inside content. With current implementation, Dart sanitizes href attributes inside popover's content.