View Single Post
Old 03-05-2019, 08:34 PM   #114
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,622
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by quinta@ebf.cz View Post
Hi. Trying plugin as suggested from
Does import need some special treetment for empty paragraphs?

input: docx containing just one empty paragraph, using paragraph style "Text"
style map:
Code:
p[style-name='Text'] => p.Text:fresh
output (where NBSP = nbsp numeric entity):
Code:
<p">NBSP<p></p>

</p">
Which of course is not valid xhtml. Am I doing something wrong?
Not sure. I've never had the plugin generate that kind of invalid code before (though admittedly, I never employ the empty paragraph technique for vertical spacing). I'd recommend experimenting with a document that consists of a bit more than a single empty paragraph. Perhaps a couple of paragraphs of Ipsem Lorem while you get the hang of things?

Last edited by DiapDealer; 03-05-2019 at 08:37 PM.
DiapDealer is online now   Reply With Quote