aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_rgx.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/output_rgx.d')
-rw-r--r--src/sdp/output_rgx.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdp/output_rgx.d b/src/sdp/output_rgx.d
index 9959590..0a5dcbb 100644
--- a/src/sdp/output_rgx.d
+++ b/src/sdp/output_rgx.d
@@ -5,6 +5,7 @@ template SiSUoutputRgxInit() {
private import defaults;
struct Rgx {
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