WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18785, comment 44


Ignore:
Timestamp:
10/10/2011 08:36:00 PM (10 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18785, comment 44

    initial v1  
    77> ID values in HTML5 can be just about anything...
    88
    9 Right, `sanitize_html_class()` actually sanitizes for XHTML IDs. Class names and IDs in HTML 5 can contain almost any character, however that brings problems/complications when using them in CSS and JS. Also don't see the point of having:
     9Right, `sanitize_html_class()` actually sanitizes for XHTML IDs. Class names and IDs in HTML 5 can contain almost any character, however that brings problems/complications when using them in CSS and JS. Don't see the point of having:
    1010{{{
    1111<div id="官方中文站点" class="为您提供">...