Bug 507666 - Website "pre" tags are formatted RTL instead of LTR
Summary: Website "pre" tags are formatted RTL instead of LTR
Status: CONFIRMED
Alias: None
Product: Plasma Bigscreen
Classification: Plasma
Component: Homescreen (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-30 11:52 UTC by Yaron Shahrabani
Modified: 2025-08-07 16:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaron Shahrabani 2025-07-30 11:52:27 UTC
SUMMARY
At the plasma-bigscreen.org there are code blocks in the FAQ section, switching to Hebrew reverses those to RTL although the text there is in English and shouldn't be translated.

STEPS TO REPRODUCE
1. Open this: https://plasma-bigscreen.org/he/faq/
2. Observe the code blocks

OBSERVED RESULT
The text is RTL aligned

EXPECTED RESULT
The text should be LTR aligned (only for the code block/pre tag)
Comment 1 User8395 2025-08-07 12:48:01 UTC
This issue has been confirmed and might be intended.
The only bug here that needs to be fixed is that the ending slash (/) gets put at the beginning of the code line
e.g cd ~/.config./autostart-scripts/ turns to /cd ~/.config./autostart-scripts.
The browser still recognizes it as the former though, so maybe it just doesn't like RTL languages :/
Comment 2 Yaron Shahrabani 2025-08-07 16:55:05 UTC
(In reply to User8395 from comment #1)
> This issue has been confirmed and might be intended.
> The only bug here that needs to be fixed is that the ending slash (/) gets
> put at the beginning of the code line
> e.g cd ~/.config./autostart-scripts/ turns to /cd
> ~/.config./autostart-scripts.
> The browser still recognizes it as the former though, so maybe it just
> doesn't like RTL languages :/

There are dedicated css rules for that, it's not only the location of the slash, it should also be aligned correctly.