Kaynağa Gözat

fix: replaces \u00A0 with  

Closes #521
GenaBitu 7 yıl önce
ebeveyn
işleme
f20dc75024

Dosya farkı çok büyük olduğundan ihmal edildi
+ 4 - 4
dist/showdown.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/showdown.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 1
dist/showdown.min.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/showdown.min.js.map


+ 2 - 2
src/converter.js

@@ -287,8 +287,8 @@ showdown.Converter = function (converterOptions) {
     text = text.replace(/\r\n/g, '\n'); // DOS to Unix
     text = text.replace(/\r/g, '\n'); // Mac to Unix
 
-    // Stardardize line spaces (nbsp causes trouble in older browsers and some regex flavors)
-    text = text.replace(/\u00A0/g, ' ');
+    // Stardardize line spaces
+    text = text.replace(/\u00A0/g, ' ');
 
     if (options.smartIndentationFix) {
       text = rTrimInputText(text);

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor