aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_read_source_files.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-11-01 10:06:47 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commit0079c34ce7a524d4b93ed56191b5e7cf6a380975 (patch)
treeaf9d3fad63937e1b8d5eefa2bdabbcea2325ce91 /org/ao_read_source_files.org
parentsync, fix level :A split info (diff)
0.8.0 the document parts (& org babel tangle)
Diffstat (limited to 'org/ao_read_source_files.org')
-rw-r--r--org/ao_read_source_files.org4
1 files changed, 2 insertions, 2 deletions
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