From 6366f823e969f7547af6ae1063ced4b7c4fcd5a5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Jan 2019 16:56:31 -0500 Subject: white space rgx to keep in block - code, block, verse --- org/meta_abstraction.org | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'org/meta_abstraction.org') diff --git a/org/meta_abstraction.org b/org/meta_abstraction.org index 10153c8..f4a6f62 100644 --- a/org/meta_abstraction.org +++ b/org/meta_abstraction.org @@ -964,13 +964,9 @@ if there is a blurb section you need to: /+ within block object: block +/ line = line._doc_header_and_make_substitutions_(conf_make_meta); line = line._doc_header_and_make_substitutions_fontface_(conf_make_meta); - if (auto m = line.match(rgx.spaces_line_start)) { + if (auto m = line.match(rgx.spaces_keep)) { line = line - .replaceAll(rgx.spaces_line_start, (m.captures[1]).translate([ ' ' : mkup.nbsp ])); - } - if (auto m = line.match(rgx.spaces_multiple)) { - line = line - .replaceAll(rgx.spaces_multiple, (m.captures[1]).translate([ ' ' : mkup.nbsp ])); + .replaceAll(rgx.spaces_keep, (m.captures[1]).translate([ ' ' : mkup.nbsp ])); } line._block_block_(an_object, obj_type_status); continue; -- cgit v1.2.3