diff --git a/md2html b/md2html
index 9ea47df..85dafb7 100755
--- a/md2html
+++ b/md2html
@@ -32,7 +32,11 @@ function level(new) {
if (b[i]) {
if (b[i] == "head") headers()
indent = indent - 2
- printf("%0" indent "s%s>\n", "", b[i])
+ if (b[i]=="pre") {
+ printf("%s>\n", b[i])
+ } else {
+ printf("%0" indent "s%s>\n", "", b[i])
+ }
}
}