diff --git a/src/elogd.c b/src/elogd.c
index 9f205735..6aa54697 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -9485,6 +9485,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
rsprintf(" oFCKeditor.BasePath = '../fckeditor/';\n");
rsprintf(" oFCKeditor.Config['CustomConfigurationsPath'] = '../fckelog.js';\n");
rsprintf(" oFCKeditor.ReplaceTextarea();\n");
+ rsprintf(" document.getElementById('HTML').checked = true;\n");
rsprintf("}\n");
rsprintf("\n\n");
}
@@ -10642,7 +10643,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
if (allowed_encoding & 4) {
if (enc_selected == 2)
- rsprintf("");
+ rsprintf("");
else
rsprintf
("");