Permalink
Browse files

Fixed minor bug where :// would be converted into a smiley.

git-svn-id: http://punymce.googlecode.com/svn/trunk@38 bac5f1eb-4f33-0410-b5f2-5fb0db2f108a
  • Loading branch information...
1 parent 180d4ef commit a73435773596f462d544f29b8cfada79aad6bf1d @spocke committed Apr 28, 2009

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -134,8 +134,8 @@
ed.onSetContent.add(function(ed, o) {
var ar = [];
- // Store away all tags
- h = o.content.replace(/<\/?[^>]+>/g, function(a) {
+ // Store away all tags and URL parts (://)
+ h = o.content.replace(/(<\/?[^>]+>|:\/\/)/g, function(a) {
return a.replace(emoReg, function(a) {
var c = find(a);

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit a734357

Please sign in to comment.