Closed kosloot closed 3 years ago
Hmm, all that indentation and the newlines shouldn't be there, I was under the impression we fixed that in https://github.com/proycon/folia/issues/88 . Was this on the latest foliatools/foliapy?
The libfolia output is the correct one indeed here.
I think your foliapy/foliatools was outdated, I can't reproduce it:
$ folia2txt issue28.folia.xml
Converting issue28.folia.xml
Dit is een gebroken lijn met nog een lijn die is afgebroken bij een hyphen.
nieuwe regel
That indenting single space on the second line may be a new issue though, your FoLiA-2text is better.
Yest thanx, I did an update and now I can reproduce the last 'new' issue
Given this FoLiA file:
Note the space="no" and and the
!
folia2txt produces this text:
OTOH, FoLiA-2text produces:
I wonder which of both is "correct". folia2txt missing the space="no" seems a problem to me anyway.
I tries the same with on level of
<part>
nodes less:In that case the results are: folia2txt:
FoLiA-2text:
(which is the same as before)
So again: which one is "correct"