Commit 958dd87
committed
issue2551094 - simplemde now handles linebreaks like markdown backends
Single newlines in simplemde editor were not being displayed with hard
linebreaks. Original patch changed Markdown and Markdown2 backends to
implement non-standard hard linebreak on embedded newline. Mistune
does not support that without having to write a new plugin.
Rather than changing the backends, change the simplemde frontend call
to not support github flavored markdown support where newline is the
same as having two trailing spaces followed by a newline (markdown
standard for embedding a linebreak).1 parent ebc9a85 commit 958dd87
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments