Changes between Initial Version and Version 2 of Ticket #13323


Ignore:
Timestamp:
Jun 28, 2011, 1:04:11 AM (9 years ago)
Author:
bill
Comment:

Or of course (3) don't support that. I don't know why the initial DOM would have newlines (or tab characters) in the class names for DOMNodes.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13323

    • Property Owner set to Eugene Lazutkin
    • Property Component changed from General to HTML
  • Ticket #13323 – Description

    initial v2  
    88
    99Possible fixes:
    10 1. Use Regex to do the replacement (use the \s character class).
    11 2. When the dom is initially rendered or loaded, all classNames get normalized by removing non-space whitespace characters.
     10 1. Use Regex to do the replacement (use the \s character class).
     11 2. When the dom is initially rendered or loaded, all classNames get normalized by removing non-space whitespace characters.
    1212
    1313Both fixes are likely to carry a performance penalty.