Skip to content

Commit

Permalink
Merge 38de192 into 77e941a
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfrancisco committed Jul 29, 2016
2 parents 77e941a + 38de192 commit cc14fec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/extensions/paste.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
[new RegExp(/<\/?o:[a-z]*>/gi), ''],

// Microsoft Word adds some special elements around list items
[new RegExp(/<!\[if !supportLists\]>(((?!<!).)*)<!\[endif]\>/gi), '$1']
[new RegExp(/<!\[if !supportLists\]>(((?!<!).)*)<!\[endif]\>/gi), '$1'],

// remove font tag
[new RegExp(/<font[^><]*>|<.font[^><]*>/gi), '']
];
}
/*jslint regexp: false*/
Expand Down

0 comments on commit cc14fec

Please sign in to comment.