|
@ -124,7 +124,7 @@ ParserBlock.prototype.parse = function (src, md, env, outTokens) { |
|
|
src = src.replace(NEWLINES_RE, '\n'); |
|
|
src = src.replace(NEWLINES_RE, '\n'); |
|
|
|
|
|
|
|
|
// Strin NULL characters
|
|
|
// Strin NULL characters
|
|
|
src = src.replace(NULL_RE, ''); |
|
|
src = src.replace(NULL_RE, '\uFFFD'); |
|
|
|
|
|
|
|
|
// Replace tabs with proper number of spaces (1..4)
|
|
|
// Replace tabs with proper number of spaces (1..4)
|
|
|
if (src.indexOf('\t') >= 0) { |
|
|
if (src.indexOf('\t') >= 0) { |
|
|