Changeset 1312 for trunk/modules/Opera


Ignore:
Timestamp:
08/29/11 21:52:04 (8 years ago)
Author:
wymsy
Message:

Ticket #1298

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/Opera/Opera.js

    r1084 r1312  
    765765      } 
    766766      else ta.value = before + cc + after; 
    767       ta.value = ta.value.replace(new RegExp ('(&[^'+cc+']*?)('+cc+')([^'+cc+']*?;)'), "$1$3$2"); 
     767      ta.value = ta.value.replace(new RegExp ('(&[^'+cc+';]*?)('+cc+')([^'+cc+']*?;)'), "$1$3$2"); 
    768768      ta.value = ta.value.replace(new RegExp ('(<script[^>]*>[^'+cc+']*?)('+cc+')([^'+cc+']*?<\/script>)'), "$1$3$2"); 
    769769      ta.value = ta.value.replace(new RegExp ('^([^'+cc+']*)('+cc+')([^'+cc+']*<body[^>]*>)(.*?)'), "$1$3$2$4"); 
Note: See TracChangeset for help on using the changeset viewer.