Skip to content

Commit bed8623

Browse files
committed
Prevent <center> and <div> inside brief descriptions to avoid broken XHTML output
1 parent ca2e7ae commit bed8623

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commentscan.l

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,9 @@ HR [hH][rR]
934934
PARA [pP][aA][rR][aA]
935935
CODE [cC][oO][dD][eE]
936936
CAPTION [cC][aA][pP][tT][iI][oO][nN]
937-
DETAILEDHTML {PRE}|{UL}|{TABLE}|{OL}|{DL}|{P}|[Hh][1-6]|{IMG}|{HR}|{PARA}
937+
CENTER [cC][eE][nN][tT][eE][rR]
938+
DIV [dD][iI][vV]
939+
DETAILEDHTML {CENTER}|{DIV}|{PRE}|{UL}|{TABLE}|{OL}|{DL}|{P}|[Hh][1-6]|{IMG}|{HR}|{PARA}
938940
DETAILEDHTMLOPT {CODE}
939941
BN [ \t\n\r]
940942
BL [ \t\r]*"\n"

0 commit comments

Comments
 (0)