Skip to content

Commit 7c4ac78

Browse files
committed
html: script*: remove following newline
Expanding script| in an html file would leave a newline after the expansion, which I found to be rather annoying. This behaviour is not present with divs and other snippets.
1 parent f7747da commit 7c4ac78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html-mode/script

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# --
44
<script type="text/javascript">
55
$0
6-
</script>
6+
</script>

html-mode/scriptsrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- mode: snippet -*-
22
# name: <script type="text/javascript" src="..."></script>
33
# --
4-
<script type="text/javascript" src="$1"></script>
4+
<script type="text/javascript" src="$1"></script>

0 commit comments

Comments
 (0)