aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/defaults.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-03-28 21:08:52 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commite162e70ec5e83bf33fadc59e2375547828b81581 (patch)
treebdcb61244668b872017deea59b0ba347e1a85fe5 /org/defaults.org
parent0.13.8 endnotes for various types of block (diff)
start work on block outputs
Diffstat (limited to 'org/defaults.org')
-rw-r--r--org/defaults.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/org/defaults.org b/org/defaults.org
index b666c30..cb4ee80 100644
--- a/org/defaults.org
+++ b/org/defaults.org
@@ -1184,6 +1184,7 @@ template SiSUlanguageCodes() {
#+name: prgmkup_rgx
#+BEGIN_SRC d
static newline = ctRegex!("\n", "mg");
+static strip_br = ctRegex!("^<br>\n|<br>\n*$");
static space = ctRegex!(`[ ]`, "mg");
static spaces_line_start = ctRegex!(`^(?P<opening_spaces>[ ]+)`, "mg");
static spaces_multiple = ctRegex!(`(?P<multiple_spaces>[ ]{2,})`, "mg"); // could be issues for endnotes