I think I have fixed this. The actual problem is that BLOCK_LEVEL_TAGS defined in XhtmlDoc.cpp includes "hr" as a block level stopping point but the code in CodeView FormatBlock did not handle the possibly of a BLOCK_LEVEL_TAGS being self-closed. None of the others are self-closing.
I just pushed a fix for this to master which seems to work.
Please give this a try.
|