Changeset 181


Ignore:
Timestamp:
05/20/05 05:10:43 (14 years ago)
Author:
gogo
Message:

Apply #104

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Stylist/stylist.js

    r60 r181  
    122122          // If we don't have an ancestor, but it's a div/span/p/hx stle, we can make one 
    123123          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))) 
    125125          { 
    126126            if(!this._selectionEmpty(this._getSelection())) 
     
    453453HTMLArea.ripStylesFromCSSString = function(css) 
    454454{ 
    455   // We are noly interested in the selectors, the rules are not important 
     455  // We are holy interested in the selectors, the rules are not important 
    456456  //  so we'll drop out all coments and rules 
    457457  RE_comment = /\/\*(.|\r|\n)*?\*\//g; 
Note: See TracChangeset for help on using the changeset viewer.