summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2014-01-28 01:03:28 -0700
committerDan Allen <dan.j.allen@gmail.com>2014-01-28 01:03:28 -0700
commitebe09005c8d2a3ac22f0de1cc38f2424663f59d8 (patch)
treece6d5781e4a363437355e46456240d3f75138e53 /lib
parentd008cef1570658f27a3738804b48b3e629a4cefe (diff)
split lines on string instead of regexp
Diffstat (limited to 'lib')
-rwxr-xr-xlib/asciidoctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asciidoctor.rb b/lib/asciidoctor.rb
index dcaec54d..24dff90f 100755
--- a/lib/asciidoctor.rb
+++ b/lib/asciidoctor.rb
@@ -218,8 +218,8 @@ module Asciidoctor
# Regexp for replacing tab character
TAB_PATTERN = /\t/
- # The pattern to use for splitting lines
- LINE_SPLIT = /\n/
+ # The string for splitting lines
+ LINE_SPLIT = EOL
# The default document type
# Can influence markup generated by render templates