Add .logical to an auto-inserted div.para if it contains a block element#2026
Add .logical to an auto-inserted div.para if it contains a block element#2026siefkenj wants to merge 1 commit intoPreTeXtBook:masterfrom
Conversation
|
Thanks @siefkenj. Good catch. It'll be a few days before I can merge. @davidfarmer: do you expect CSS ramifications? Would a beta be useful or necessary? |
|
OK, put this through testing on the sample article.
Shouldn't these "unstructured" |
|
I am not sure what Yes, moving this step to the preprocessor would be an option (that's what I do in the JS version. I first add a |
I don't think |
|
Are you saying that the case is handled elsewhere in the code? |
|
Your interior Some exceptions, such as |
|
The |
Currently when
is processed, the resulting
pturns into adiv.para.logical. However,gets an auto-inserted
pwhich turns to adiv.paraeven though it contains a block element. This PR makes the behavior of the auto-insertedpconsistent.