daisy / pipeline

Super-project that aggregates all Pipeline related code, provides a common tracker for Pipeline related issues and holds the Pipeline website
http://daisy.github.io/pipeline
21 stars 21 forks source link

Issue with <br/> and capitals #603

Open PaulRambags opened 3 years ago

PaulRambags commented 3 years ago

Expected Behavior

We try to process the following DTBook paragraph: <p>A<br/>Aa</p>

The expected output would be: expected

or, {capital mark}A{line-break}{capital mark}Aa

Actual Behavior

This is the actual erroneous output. actual

or, {permanent capital mark}A{line-break}a{recovery sign}a

Steps to Reproduce

  1. Take an abritrary existing DTBook
  2. Add this paragraph: <p>A<br/>Aa</p>

Details

None.

Environment

Logs

Relevant fragment from the generated OBFL:

<marker class="resumed-title/if-not-set-next" value=""/>⠘⠁<br/>⠁⠠⠁</block>

The generated OBFL already contains the mistake. This indicates that it is a Pipeline issue (and not an issue in Dotify).

bertfrees commented 3 years ago

This was fixed when we upgraded to Dotify 1.0.1 (https://github.com/daisy/pipeline-modules/commit/fe3a41c71760808b6734af8244690c7dd68cc9ec)

bertfrees commented 2 years ago

Not completely fixed yet because with pre-translation enabled the translation will still be wrong.