aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/metadoc_from_src.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/meta/metadoc_from_src.d')
-rw-r--r--src/doc_reform/meta/metadoc_from_src.d10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/doc_reform/meta/metadoc_from_src.d b/src/doc_reform/meta/metadoc_from_src.d
index 5df5e87..2dfd746 100644
--- a/src/doc_reform/meta/metadoc_from_src.d
+++ b/src/doc_reform/meta/metadoc_from_src.d
@@ -712,13 +712,9 @@ template DocReformDocAbstraction() {
/+ 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;
@@ -1743,7 +1739,7 @@ template DocReformDocAbstraction() {
obj.stow.link ~= obj.text.matchFirst(rgx.inline_link_stow_uri)[2];
obj.text = obj.text.replaceFirst(
rgx.inline_link_stow_uri,
- format(q"¶┥%s┝┤%s├¶", "$1", i)
+ format(q"┋┥%s┝┤%s├┋", "$1", i)
);
}
}