diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 01:59:21 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 01:59:21 -0500 |
commit | b5ce8ccc734d73dcfe9f11f7aff46b158860f276 (patch) | |
tree | 085b6900ab6431473caca82c3067e6d19bc7251d /got | |
parent | b2c0c37fe3c5b7bc5b762a62a3372de2b3b30538 (diff) |
don't convert to CRLF when editing using the web form
Diffstat (limited to 'got')
-rw-r--r-- | got/view_blob.got | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/got/view_blob.got b/got/view_blob.got index 16d7ff1..0d7c80c 100644 --- a/got/view_blob.got +++ b/got/view_blob.got @@ -8,6 +8,7 @@ {{if istext .ctype}} <form method="POST" enctype="multipart/form-data"> <input type="hidden" name="_method" value="PUT"> + <input type="hidden" name="_body_decrlf" value="1"> <textarea name="_body">{{.content | html }}</textarea> <label> Description of change: |