You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have fixed slub/dfg-viewer#147 rather quick & dirty. A better solution would involve fixing the issue directly in the ALTO parser of Kitodo.Presentation.
The text was updated successfully, but these errors were encountered:
Your fix now allows to render text that has (HTML-encoded) newlines in it as well, but no SP (or not even multiple distinct TextLine elements). See here for an example. (This ALTO was produced by page-to-alto converter with --alto-version 2.0 --dummy-textline --dummy-word in effect.)
It would be great if that workaround would still work in the future (because full texts without true/correct textline and word segmentation are a valid use case).
But it also shows that it is important for readibility that at least some newlines appear / get rendered. In my example, newlines are already included in the string. But Presentation should also insert them between successive TextLines.
We have fixed slub/dfg-viewer#147 rather quick & dirty. A better solution would involve fixing the issue directly in the ALTO parser of Kitodo.Presentation.
The text was updated successfully, but these errors were encountered: