Skip to content

Commit 324eafd

Browse files
authored
[fix] blogwriter.commands.code.startの選択肢5を選択したときのバグを修正
1 parent 061dd28 commit 324eafd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

write.sh

+6-5
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,13 @@ while true
4646
echo "5) その他(自動認識)"
4747
read -p "> " lang
4848
case "$lang" in
49-
1) lang="lang-bash" ;;
50-
2) lang="lang-html" ;;
51-
3) lang="lang-css" ;;
52-
4) lang="lang-python" ;;
49+
1) lang=" lang-bash" ;;
50+
2) lang=" lang-html" ;;
51+
3) lang=" lang-css" ;;
52+
4) lang=" lang-python" ;;
53+
5) lang="" ;;
5354
esac
54-
echo -n '<pre class="prettyprint><code class="prettyprint '${lang}'>' >> $fn
55+
echo -n '<pre class="prettyprint><code class="prettyprint'${lang}'>' >> $fn
5556
fi
5657
if [ "$b" = "blogwriter.commands.code.end" ]
5758
then

0 commit comments

Comments
 (0)