RTL numbered or bullet lists are broken

Real world example: ההנחיות בוויקי לגבי שמות - ישראל (Israel) - OpenStreetMap Community Forum

This section should be numbered, but isn’t - presumably because of bad CSS.

Rendering is a bit different on desktop but still broken.

I’ll try to demonstrate it here too. I don’t know if it depends on forum settings. The following lists are identical in English and Hebrew.

Numbered:

  1. One
  2. Two
    1. Two point one
    2. Two point two
    3. Two point three
  3. Three
    • Three bullet one
    • Three bullet two

Bullet:

  • Bullet one
  • Bullet two
    1. Bullet two number one
    2. Bullet two number two
  • Bullet three
    • Bullet three bullet one
    • Bullet three bullet two

ממוספר:

  1. אחת
  2. שתיים
    1. שתיים נקודה אחת
    2. שתיים נקודה שתיים
    3. שתיים נקודה שלוש
  3. שלוש
    • שלוש פריט אחת
    • שלוש פריט שתיים

פריטים:

  • פריט אחת
  • פריט שתיים
    1. פריט שתיים מספר אחת
    2. פריט שתיים מספר שתיים
  • פריט שלוש
    • פריט שלוש פריט אחת
    • פריט שלוש פריט שתיים

Based on the preview - yup, it’s broken here too. (Edit: added a screenshot below)

Suggested fix:

1 Like

Thank you, I hope this gets accepted! I’ve opened a request to apply this patch to the OSM forum directly too: Fix list CSS for RTL languages - 🐞 This forum issues and requests - OpenStreetMap Community Forum

P.S. it seems the OP of this thread was automatically translated to English for me and I can’t find a way to see the original in the mobile UI. What’s going on there? Obviously the issue is no longer visible in this case. Good thing I caught that screenshot earlier!