Bug 507666

Summary: Website "pre" tags are formatted RTL instead of LTR
Product: [Plasma] Plasma Bigscreen Reporter: Yaron Shahrabani <sh.yaron>
Component: HomescreenAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: therealuser8395
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.