From 0079c34ce7a524d4b93ed56191b5e7cf6a380975 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 Nov 2016 10:06:47 -0400 Subject: 0.8.0 the document parts (& org babel tangle) --- org/ao_read_source_files.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org/ao_read_source_files.org') diff --git a/org/ao_read_source_files.org b/org/ao_read_source_files.org index 8aab5c9..66b91a8 100644 --- a/org/ao_read_source_files.org +++ b/org/ao_read_source_files.org @@ -184,7 +184,7 @@ catch (ErrnoException ex) { // } } -** document header & content, array.length == 2 :array: +** [#A] document header & content, array.length == 2 :array: here you split document header and body, an array.length == 2 split is on first match of level A~ (which is required) @@ -211,7 +211,7 @@ final private char[][] header0Content1(in string src_text) { #+BEGIN_SRC d final private char[][] markupSourceLineArray(in char[] src_text) { char[][] source_line_arr = - split(cast(char[]) src_text, rgx.line_delimiter); + split(cast(char[]) src_text, rgx.newline_eol_strip_preceeding); return source_line_arr; } #+END_SRC -- cgit v1.2.3