Changeset 181
- Timestamp:
- 05/20/05 05:10:43 (8 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/Stylist/stylist.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/Stylist/stylist.js
r60 r181 122 122 // If we don't have an ancestor, but it's a div/span/p/hx stle, we can make one 123 123 if(( tag == 'div' || tag == 'span' || tag == 'p' 124 || (tag.substr(0,1) == 'h' && tag.length == 2 )))124 || (tag.substr(0,1) == 'h' && tag.length == 2 && tag != 'hr))) 125 125 { 126 126 if(!this._selectionEmpty(this._getSelection())) … … 453 453 HTMLArea.ripStylesFromCSSString = function(css) 454 454 { 455 // We are noly interested in the selectors, the rules are not important455 // We are holy interested in the selectors, the rules are not important 456 456 // so we'll drop out all coments and rules 457 457 RE_comment = /\/\*(.|\r|\n)*?\*\//g;
