"Margin-top/bottom: 0" not inherited in some paragraphs
Find out why paragraphs that begin with drop-caps don't inherit "margin-top: 0" and "margin-bottom: 0" from TEI header in the Maladies des femmes.
EDIT by MDH: The simple answer to this is that I was explicitly excluding the paraStyle CSS in the case of a drop-cap paragraph because any text-indent setting screwed up the drop-cap. However, I've now done something more sophisticated, by stripping out the text-indent setting with a
replace()
using this regex:
(text-indent[\s]*:[\s]*[^;]*[;])|(text-indent[\s]*:[\s*][\d][^\s;]*$)