Skip to content

Commit e061b2c

Browse files
committed
Update codeit-autolinker.js
1 parent cf9f5d7 commit e061b2c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

lib/plugins/codeit-autolinker.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,10 @@
9595
env.attributes.onclick = onClickEvent;
9696
env.attributes.title = linkTitle;
9797

98-
// silently catch any error thrown by decodeURIComponent
99-
try {
100-
env.content = decodeURIComponent(env.content);
101-
} catch (e) {}
98+
env.content = env.content;
99+
102100
}
101+
103102
});
104103

105104
}());

0 commit comments

Comments
 (0)