summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-11-09 15:27:00 +0100
committercinap_lenrek <cinap_lenrek@centraldogma>2011-11-09 15:27:00 +0100
commitf72373eaff6528535eef0f896158a3c7517a1158 (patch)
treec3e6ef6d1feb5d3b205fe564c2a0c03c24ffe1c7
parenta4a3f519a6fea74d6bfc3c60a443fe2feb763e21 (diff)
parent9c1277777315815ff64e4929d8e06ff5652f925c (diff)
downloadplan9front-f72373eaff6528535eef0f896158a3c7517a1158.tar.xz
merge
-rwxr-xr-xrc/bin/ken2
-rw-r--r--sys/src/cmd/mothra/html.h1
-rw-r--r--sys/src/cmd/mothra/html.syntax.c1
-rw-r--r--sys/src/cmd/mothra/rdhtml.c1
4 files changed, 3 insertions, 2 deletions
diff --git a/rc/bin/ken b/rc/bin/ken
deleted file mode 100755
index e7b0b6e11..000000000
--- a/rc/bin/ken
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/rc
-fortune /lib/ken
diff --git a/sys/src/cmd/mothra/html.h b/sys/src/cmd/mothra/html.h
index 61bc963a3..eb759244b 100644
--- a/sys/src/cmd/mothra/html.h
+++ b/sys/src/cmd/mothra/html.h
@@ -136,6 +136,7 @@ enum{
Tag_cite,
Tag_code,
Tag_dd,
+ Tag_div,
Tag_dfn,
Tag_dir,
Tag_dl,
diff --git a/sys/src/cmd/mothra/html.syntax.c b/sys/src/cmd/mothra/html.syntax.c
index a1297149c..b043b3f92 100644
--- a/sys/src/cmd/mothra/html.syntax.c
+++ b/sys/src/cmd/mothra/html.syntax.c
@@ -25,6 +25,7 @@ Tag tag[]={
[Tag_dd] "dd", NOEND, /* OPTEND */
[Tag_dfn] "dfn", END,
[Tag_dir] "dir", END,
+[Tag_div] "div", NOEND, /* OPTEND */
[Tag_dl] "dl", END,
[Tag_dt] "dt", NOEND, /* OPTEND */
[Tag_em] "em", END,
diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c
index 941fb199c..cc5e8c43f 100644
--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -776,6 +776,7 @@ void plrdhtml(char *name, int fd, Www *dst){
g.state->indent=20;
g.spacc=0;
break;
+ case Tag_div:
case Tag_br:
g.spacc=0;
g.linebrk=1;