diff options
author | Peter Eckersley <pde@users.noreply.github.com> | 2015-12-09 10:43:15 +0300 |
---|---|---|
committer | Peter Eckersley <pde@users.noreply.github.com> | 2015-12-09 10:43:15 +0300 |
commit | ce14851232c39aa1151ecd9c7b77ef910059d46c (patch) | |
tree | 1384ca508e58b1a4521b61a9e75293cd15f1ba69 /letsencrypt-apache | |
parent | d8cf3952b45dadec1be32d1089127e0ccaed781d (diff) | |
parent | 312669c64d1fc05716cd892d3579b0cf6b51d15b (diff) |
Merge pull request #1809 from domcleal/1693-augeas-section-ends
Merge Augeas lens fix for closing multiple sections on one line
Diffstat (limited to 'letsencrypt-apache')
-rw-r--r-- | letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug b/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug index f54f9fbaa..0669896a0 100644 --- a/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug +++ b/letsencrypt-apache/letsencrypt_apache/augeas_lens/httpd.aug @@ -101,7 +101,7 @@ let section (body:lens) = indent . dels "</" in let kword = key word in let dword = del word "a" in - [ indent . dels "<" . square kword inner dword . del ">" ">" . eol ] + [ indent . dels "<" . square kword inner dword . del />[ \t\n\r]*/ ">\n" ] let rec content = section (content|directive) |