Neil MacDougall
|
d5dccb4de4
|
Support "target=_blank" in A links via clean-html directive (#9928)
* Allow target=_blank on A tags through DOMPurify
* Remove unused params
* Fix lint issue
* Prevent directives from being overwritten
* Fix lint issues
|
2023-11-23 09:33:48 +00:00 |
Giuseppe Leo
|
01eeb0548f
|
Add recommended lint rules globally (#8997)
* Update configuration
* Create default config for eslint
* Restore plugin:vue/recommended
* Add exceptions and overrides
* Correct manually remaining issues
* Adding further picked exceptions groupped up
* Fix or disable specific cases manually and singularly
* Add naming linting exception
* Remove unused variable in component
* Move rules to default
* Autocorrect rancher/components linting issues
* Configure VSCode to use multiple files, to display linting for rancher components
* Disable jest lint hook restriction for string list component
* Autofix
|
2023-06-23 17:02:55 +02:00 |
Phillip Rak
|
93be844701
|
Create a `v-clean-tooltip` directive
Update `VCleanTooltip`
Only purify if `value.content` is string
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
|
2023-05-18 15:39:14 -07:00 |
Neil MacDougall
|
380be76307
|
Fix the v-clean-html directive (#8617)
|
2023-04-05 12:04:29 +01:00 |
Phillip Rak
|
29c05d0c4e
|
Extract `clean-html` directive
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
|
2023-03-22 08:30:17 -07:00 |