chore: added attributes in ol tag#7736
Conversation
WalkthroughExpanded the HTML sanitizer’s wildcard attribute set in apps/api/plane/utils/content_validator.py by adding “start” and “type” to ATTRIBUTES["*"]. No other logic, signatures, or control flow were changed. Changes
Sequence Diagram(s)Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for two new HTML attributes (start and type) in the content validation system for the ol (ordered list) tag. This enhancement allows ordered lists to utilize these standard HTML attributes for customizing list numbering behavior.
- Added
startandtypeattributes to the allowed attributes list in the content validator - Enables more flexible ordered list formatting options in the application
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Description
this pull request adds two new attributes in the ol tag.
Type of Change
Summary by CodeRabbit