summaryrefslogtreecommitdiffhomepage
path: root/include/fmt-code
diff options
context:
space:
mode:
Diffstat (limited to 'include/fmt-code')
-rwxr-xr-xinclude/fmt-code2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fmt-code b/include/fmt-code
index 9da3828..c02a389 100755
--- a/include/fmt-code
+++ b/include/fmt-code
@@ -1,3 +1,3 @@
#!/bin/sh
-sed 's|.*|<code>&</code>|' "${2%/*}/$1"
+sed 's|.*|>code{-&}|; $s/>//' "${2%/*}/$1"