mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
parent
039dd66256
commit
f20dc75024
92
dist/showdown.js
vendored
92
dist/showdown.js
vendored
File diff suppressed because one or more lines are too long
2
dist/showdown.js.map
vendored
2
dist/showdown.js.map
vendored
File diff suppressed because one or more lines are too long
6
dist/showdown.min.js
vendored
6
dist/showdown.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/showdown.min.js.map
vendored
2
dist/showdown.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user