From bed8623159191e65997b34dba80a804bfd4ea85b Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 16 Dec 2018 12:52:34 +0100 Subject: Prevent
and
inside brief descriptions to avoid broken XHTML output --- src/commentscan.l | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commentscan.l b/src/commentscan.l index 3be770f..3af682c 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -934,7 +934,9 @@ HR [hH][rR] PARA [pP][aA][rR][aA] CODE [cC][oO][dD][eE] CAPTION [cC][aA][pP][tT][iI][oO][nN] -DETAILEDHTML {PRE}|{UL}|{TABLE}|{OL}|{DL}|{P}|[Hh][1-6]|{IMG}|{HR}|{PARA} +CENTER [cC][eE][nN][tT][eE][rR] +DIV [dD][iI][vV] +DETAILEDHTML {CENTER}|{DIV}|{PRE}|{UL}|{TABLE}|{OL}|{DL}|{P}|[Hh][1-6]|{IMG}|{HR}|{PARA} DETAILEDHTMLOPT {CODE} BN [ \t\n\r] BL [ \t\r]*"\n" -- cgit v0.12