Setting up a div container around quotes.
My converter creates paragraphs only, but not div containers.
I have a very long book to deal with, with a lot of quotes, some of them very long. I use two main paragraph styles, "bodytext" (100%) and "quote" with a smaller size.
The problem is that these quotes may include from one to four paragraphs. I would like to neatly separate the quote from the bodytext for readability purposes, but if I do it using only paragraphs, long quotes look weird because the space between paragraphs is too big. Obviously I need to enclose each quote within a div which will take care of the needed whitespace.
Say a div with bottom and top margins of 1em, while the quote paragraphs themselves will have much smaller margins (or not at all).
I can do that manually... or set up a regex. This is the question.