aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_defaults.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-11-25 18:19:24 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commit19d648a891b3cb9c7d573911f83d3a9fafe2b434 (patch)
treeabd0ee081fe2058f04bf58b7b14ac0fb3295c571 /src/sdp/ao_defaults.d
parentmunge links & urls for sections: toc, endnotes, book index (diff)
housekeeping
Diffstat (limited to 'src/sdp/ao_defaults.d')
-rw-r--r--src/sdp/ao_defaults.d45
1 files changed, 10 insertions, 35 deletions
diff --git a/src/sdp/ao_defaults.d b/src/sdp/ao_defaults.d
index f1c05ac..9a84e80 100644
--- a/src/sdp/ao_defaults.d
+++ b/src/sdp/ao_defaults.d
@@ -388,42 +388,17 @@ template InternalMarkup() {
auto en_b_o = "〖"; auto en_b_c = "〗"; // endnote en_b_o: '~['; en_b_c: ']~';
auto lnk_o = "┥"; auto lnk_c = "┝";
auto url_o = "┤"; auto url_c = "├";
- string _indent_spaces ="";
+ auto nbsp = "░";
+ auto br_line = "┘";
+ auto br_nl = "┙";
+ auto br_paragraph = "┚";
+ auto br_obj = "break_obj";
+ auto br_page_line = "┼";
+ auto br_page = "┿";
+ auto br_page_new = "╂";
string indent_by_spaces_provided(int indent) {
- switch (indent) {
- case 0:
- _indent_spaces = "";
- break;
- case 1:
- _indent_spaces = " ";
- break;
- case 2:
- _indent_spaces = " ";
- break;
- case 3:
- _indent_spaces = " ";
- break;
- case 4:
- _indent_spaces = " ";
- break;
- case 5:
- _indent_spaces = " ";
- break;
- case 6:
- _indent_spaces = " ";
- break;
- case 7:
- _indent_spaces = " ";
- break;
- case 8:
- _indent_spaces = " ";
- break;
- case 9:
- _indent_spaces = " ";
- break;
- default:
- break;
- }
+ auto _indent_spaces ="░░"; // auto nbsp = "░";
+ _indent_spaces = replicate(_indent_spaces, indent);
return _indent_spaces;
}
}