Page MenuHomePhabricator

Syntaxhighlight does not honor directionality in preview mode
Open, Needs TriagePublic

Description

Steps to reproduce:

  • Go to a wiki that is in RTL (or change your preferences to make an RTL language the default)
  • Start to write a message using Convenient Discussions and use <syntaxhighlight> tag.
  • Observe the message preview.

Actual outcome: The preview is shown code in <syntaxhighlight> with LTR direction, but RTL position

Expected outcome: The code should be in RTL position

When saved, the direction is fixed.

Event Timeline

IKhitron created this task.Jul 27 2020, 3:24 PM
Restricted Application added a project: I18n. · View Herald TranscriptJul 27 2020, 3:24 PM
Iniquity updated the task description. (Show Details)
Huji renamed this task from Syntaxhighlight does not work properly in rtl. to Syntaxhighlight does not honor directionality in preview mode.Jul 27 2020, 4:39 PM
Huji updated the task description. (Show Details)
Huji added a subscriber: Huji.

@IKhitron I updated the task description a bit, without knowing the exact problem. I may have made things worse. Please edit further as you see fit. The goal is to have very clear specifications on how to reproduce the issue.

IKhitron updated the task description. (Show Details)Jul 27 2020, 4:50 PM

@IKhitron I updated the task description a bit, without knowing the exact problem. I may have made things worse. Please edit further as you see fit. The goal is to have very clear specifications on how to reproduce the issue.

Thanks. I added some text.

IKhitron updated the task description. (Show Details)Jul 27 2020, 5:08 PM
IKhitron updated the task description. (Show Details)
IKhitron updated the task description. (Show Details)
IKhitron updated the task description. (Show Details)Jul 27 2020, 5:11 PM
Iniquity updated the task description. (Show Details)Jul 27 2020, 5:21 PM
Iniquity updated the task description. (Show Details)Jul 27 2020, 6:38 PM
IKhitron updated the task description. (Show Details)Jul 27 2020, 6:40 PM
Iniquity moved this task from Backlog to Bugs on the Convenient-Discussions board.Sep 7 2020, 10:40 AM