keep .html extension when editing
(to make synthax highlight work)
This commit is contained in:
parent
175810b7a3
commit
b3ea05ecd0
1 changed files with 1 additions and 1 deletions
2
bb.sh
2
bb.sh
|
@ -354,7 +354,7 @@ edit() {
|
||||||
filename="$1"
|
filename="$1"
|
||||||
else
|
else
|
||||||
# Create the content file
|
# Create the content file
|
||||||
TMPFILE="$1.$RANDOM"
|
TMPFILE="$(basename $1).$RANDOM.html"
|
||||||
# Title
|
# Title
|
||||||
echo "$(get_post_title $1)" > "$TMPFILE"
|
echo "$(get_post_title $1)" > "$TMPFILE"
|
||||||
# Post text with plaintext tags
|
# Post text with plaintext tags
|
||||||
|
|
Loading…
Add table
Reference in a new issue