Skip to content

Commit c2b24fc

Browse files
committed
Use Line_Separator and Paragraph_Separator for unsupported environment like cloudflare pages
1 parent c2ba63f commit c2b24fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdoc/markdown/literals.kpeg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
Alphanumeric = /\p{Word}/
1717
AlphanumericAscii = /[A-Za-z0-9]/
1818
BOM = "\uFEFF"
19-
Newline = /\n|\r\n?|\p{Zl}|\p{Zp}/
19+
Newline = /\n|\r\n?|\p{Line_Separator}|\p{Paragraph_Separator}/
2020
NonAlphanumeric = /\p{^Word}/
2121
Spacechar = /\t|\p{Zs}/

0 commit comments

Comments
 (0)