4 مستودعات
Enforcement of valid HTML attribute usage on DOM nodes to prevent invalid markup.
Distinct from DOM Element Manipulators: Candidates focus on DOM manipulation and selectors, whereas this is about static validation of attributes in markup.
Explore 4 awesome GitHub repositories matching web development · HTML Attribute Restrictions. Refine with filters or upvote what's useful.
This project is an ESLint plugin and static analysis tool designed to enforce best practices, prevent bugs, and maintain code quality in React projects. It functions as a specialized JSX linter that analyzes the syntax and structure of components to detect anti-patterns and API misuse. The plugin distinguishes itself by providing deep analysis of React-specific patterns, such as detecting state race conditions, preventing nested component definitions, and identifying unstable references that cause unnecessary re-renders. It also includes security hardening rules to identify vulnerabilities li
Prevents passing prohibited attributes to DOM nodes to ensure valid HTML and consistent usage.
Nokogiri is an XML and HTML parsing library that builds navigable document trees from strings, files, or URLs using native C parsers for speed and standards compliance. It provides a CSS selector engine that translates CSS3 selectors into XPath expressions for querying nodes, an XPath query interface with namespace support, a document manipulation toolkit for modifying parsed documents, XSD schema validation, and XSLT transformation capabilities. The library wraps libxml2 and libxslt C libraries with Ruby bindings for high-performance parsing, and integrates Google's Gumbo parser for standard
Restrict the maximum number of attributes on any single DOM element and raise an error when the limit is exceeded.
ContentTools هو إطار عمل JavaScript ومجموعة أدوات لبناء محررات WYSIWYG مرئية. يوفر مكتبة لمعالجة DOM لتحليل وتحويل سلاسل HTML إلى مناطق قابلة للتحرير، إلى جانب منسق مستندات مرئي يدير سلوكيات العناصر وانتقالات الحالة. يتضمن إطار العمل مدير اختيار متصفح متخصص لضمان ثبات موضع المؤشر وتمييز نطاق النص عبر متصفحات الويب المختلفة. كما يتميز بمدقق محتوى HTML يُستخدم لتنقية المخرجات وتحويل روابط الوسائط التابعة لجهات خارجية إلى تنسيقات تضمين صالحة. يغطي النظام مجموعة واسعة من القدرات، بما في ذلك معالجة DOM التفاعلية للعناصر القابلة للسحب وتغيير الحجم، وتنسيق النصوص الغنية، وسير عمل معالجة الصور للقص والتدوير. كما يوفر أدوات لتتبع سجل التحرير عبر لقطات DOM ونظام مكونات واجهة المستخدم لإدارة صناديق الأدوات والتنقل الهرمي. يفرض المشروع الأمان من خلال قيود سمات العناصر لمنع التعديلات غير المصرح بها لوسوم HTML.
Enforces security by restricting forbidden attributes on specific HTML tags to prevent unauthorized modifications.
bluemonday is a Go library for scrubbing user-generated HTML content to prevent cross-site scripting and other injection attacks. It functions as an HTML policy engine and sanitizer that removes dangerous scripts and malicious tags by applying configurable element and attribute allowlists. The project distinguishes itself through a rule-based system that utilizes regular expressions and name-based lists to define permitted tags, attributes, and CSS styles. It includes a URL security validator that enforces safe protocols and automatically injects security attributes such as nofollow and noope
Controls which attributes are permitted on specific HTML tags or groups of tags.