srophe / syriac-corpus-app

This is the development repository for The Oxford-BYU Syriac Corpus project. Application development.
Other
3 stars 2 forks source link

Mismatch in text display #246

Closed wsalesky closed 2 years ago

wsalesky commented 2 years ago

Then I noticed that the text displayed in html and the tei behind it don't seem to be the same thing. The text in the tei:div @type="rubric" matches the first paragraph in the html but the text in the first tei:p does not match the first paragraph in the html.

Example: 229

davidamichelson commented 2 years ago

For what it is worth Safari and Firefox (on Mac and PC) both render fine.

Chrome on PC and Mac both have the same issue. Chrome starts displaying the text at <pb ed="http://syriaca.org/manuscript/2295" n="115"/> with the phrase ܚܘܼܣܝܐ: ܘܙܒܢ̈ܝܼܢ ܣܓ̈ܝܐܢ ܡܫܬܼܚܠܦ ܗܼܘܐ: ܘܐܝܟ ܗܿܘ

davidamichelson commented 2 years ago

When you copy the first line in Chrome the text that it gives you is actually three lines from the start of the TEI: ܣܘܼܟ̈ܠܐ܀ ܐܦ ܗܕܐ ܕܥ܆ ܕܐܝܠܝܢ ܕܒܗܢܐ ܟܬܒܐ ܪ̈ܫܝܼܡܢ: ܫܘܼܡܠܝܐ

davidamichelson commented 2 years ago

FYI, this error only occurs in some files, such as files 228, 229, 230 have display problems, but records 20 and 42 displays fine. Also, if you watch closely in Chrome, when it first loads the page for 228 it displays fine but then switches to the incorrect.

davidamichelson commented 2 years ago

One more note, in the problem files (229 and 230) turning on show page break on the right fixes the display problem.

davidamichelson commented 2 years ago

@wsalesky I think the page break rendering is the source of the problem. We can discuss tomorrow.

wsalesky commented 2 years ago

@wsalesky Note to self, this is caused by the pb toggle function. Currently testing different methods for dealing with it.

wsalesky commented 2 years ago

@davidamichelson @dlschwartz Can you take a look. I think I fixed it but need confirmation form Syriac readers. Thanks.

jedwardwalters commented 2 years ago

Thanks, Winona. I just tested in firefox and chrome, and everything looks okay. BUT, when I click to toggle the page break in Chrome, it causes the page to become unresponsive. This happened twice. on 229 and 230.

Jamey

On Apr 9, 2022, at 7:58 AM, Winona Salesky @.***> wrote:

@davidamichelson https://github.com/davidamichelson @dlschwartz https://github.com/dlschwartz Can you take a look. I think I fixed it but need confirmation form Syriac readers. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/srophe/syriac-corpus-app/issues/246#issuecomment-1093958445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYCJ6FO43MAH5O73ZMA7FLVEFWFXANCNFSM5OUWS25A. You are receiving this because you are subscribed to this thread.

wsalesky commented 2 years ago

Okay, thanks for the update I will make a new bug for the page break toggle.