LNReader / lnreader-plugins

Repository to host source related issues, and requests for LNReader
MIT License
101 stars 51 forks source link

Kolnovel symbols and English letters not in the last of the sentence #959

Open kiraoussama opened 1 month ago

kiraoussama commented 1 month ago

Source information

Kolnovel ملوك الروايات

Steps to reproduce

When I read a novel in Arabic of the come English letter or some symbol like ? ! ....... It don't be where it supposed to be it be in the Middle of the sentence or at the start

Expected behavior

It should be in the last of the sentence or in it's right place

Actual behavior

The symbols be in the middle of the sentence

LNReader version

Beta 2.0.0

Android version

Android 14

Other details

Nothing really

Acknowledgements

error7404 commented 1 month ago

can you send a screenshot?

kiraoussama commented 1 month ago

![Uploading Screenshot_2024-05-28-18-50-37-46_3c1c179116822eec69c21805387f0489.jpg…]()

kiraoussama commented 1 month ago

IMG_20240528_192305

error7404 commented 1 month ago

what's the novel name & page

kiraoussama commented 1 month ago

reverend insanity but not just this novel it's a lot of novels in different arabic plugins

error7404 commented 1 month ago

different plugins? is it novelsparadise?

kiraoussama commented 1 month ago

no arabic ones

kiraoussama commented 1 month ago

but it's fine if you can fix just kolnovel please

error7404 commented 1 month ago

when you add

* {
   text-align: right;
}

to custom CSS (More > Settings > Reader > Custom CSS) does it fix the issue?

kiraoussama commented 1 month ago

wait let me see

kiraoussama commented 1 month ago

no it's still the same

kiraoussama commented 1 month ago

IMG_20240528_210059

kiraoussama commented 1 month ago

All that did is change sentence from middle to the right like you see

error7404 commented 1 month ago

try

* {
   direction: rtl; 
}
kiraoussama commented 1 month ago

ok

kiraoussama commented 1 month ago

ok thank you soo much it work

error7404 commented 1 month ago

it's not a complete fix, it will mess up non right-to-left languages, but I will figure out a fix please don't close this issue

kiraoussama commented 1 month ago

ok

kiraoussama commented 1 month ago

but it look good now

kiraoussama commented 1 month ago

or you mean it look good only when i read arabic but it mess up english

error7404 commented 1 month ago

it mess up english novels

kiraoussama commented 1 month ago

okay i undarstand