MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / fixIeBug

Function fixIeBug

static/scripts/markitup/jquery.markitup.js:351–356  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

349 }
350 // Substract linefeed in IE
351 function fixIeBug(string) {
352 if ($.browser.msie) {
353 return string.length - string.replace(/\r*/g, '').length;
354 }
355 return 0;
356 }
357
358 // add markup
359 function insert(block) {

Callers 1

markupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected