# Arabic comments in code block don't work in Opera

**URL:** https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503
**Category:** UX
**Created:** [June 21, 2020, 8:23pm UTC](https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503 "2020-06-21T20:23:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![AHMED\_ALRIFAI](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed_alrifai/32/184632_2.png) [@AHMED\_ALRIFAI](https://meta.discourse.org/u/AHMED_ALRIFAI)
#### Post date: [June 21, 2020, 8:23pm UTC](https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503/1 "2020-06-21T20:23:05Z")

</div>

Hey guys 👋

As the title suggests, when I write Arabic words in code comments, they are not displayed correctly **in the Opera browser after I post the topic.**

However, it works fine in preview mode and in other browsers, for example:

```ruby
# This is a basic workflow to help you get started with Actions

name: CI Name # Here we put the workflow name

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: # We use it to set the timing for starting the workflow
  push: # Here the workflow starts when code is pushed to the main master branch
    branches: [master]
  pull_request: # And here the workflow starts when a pull request is made
    branches: [master]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: # Each workflow consists of several jobs
  # This workflow contains a single job called "build"
  build-for-production: # Here we give any name that describes the job the server will perform
    # The type of runner that the job will run on
    runs-on: ubuntu-latest # Server operating system, and here there are many options attached to the image below the code

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps: # Here are the steps or tasks the server will perform
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2 # This step is important as it directs the server to the current folder or project

    # Runs a single command using the runners shell
    - name: Run a one-line script # Name of the first task
      run: echo Hello, world! # The command for the first task

    # Runs a set of commands using the runners shell
    - name: Run a multi-line script # Name of the second task
      run: |
        echo Add other actions to build, # Commands for the second task
        echo test, and deploy your project.

```

 ![InkedOpera Snapshot_2020-06-21_194245_forums.coretabs.net_LI](https://global.discourse-cdn.com/meta/original/3X/2/e/2e8bd707659c494c8da5c15a8162e314c83d6020.jpeg)

This is an example from our instance.

I tried updating Discourse from 2.5.0.beta5 to 2.5.0.beta7, but the problem persists.

Edit: I don’t know why it works on your site 🤷‍♂️  
but this is the original topic where we noticed this bug: [https://forums.coretabs.net/t/ما-معنى-devops؟-دليلك-التطبيقي-لميكنة-مشروعاتك/4917](https://forums.coretabs.net/t/%D9%85%D8%A7-%D9%85%D8%B9%D9%86%D9%89-devops%D8%9F-%D8%AF%D9%84%D9%8A%D9%84%D9%83-%D8%A7%D9%84%D8%AA%D8%B7%D8%A8%D9%8A%D9%82%D9%8A-%D9%84%D9%85%D9%8A%D9%83%D9%86%D8%A9-%D9%85%D8%B4%D8%B1%D9%88%D8%B9%D8%A7%D8%AA%D9%83/4917)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [June 22, 2020, 3:05am UTC](https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503/2 "2020-06-22T03:05:54Z")

</div>

Hey @AHMED_ALRIFAI welcome to Meta 👋

Discourse does not support Opera. The browsers we support are listed [here.](https://github.com/discourse/discourse#requirements)

The code block in your post seems to render OK for me on Chrome.

 ![Code block with Arabic comments renders on Chrome](https://global.discourse-cdn.com/meta/original/3X/b/5/b5be7bb65d76882d6b84d94034486b02f1ee4f50.png)

Also, the code blocks in your [linked topic](https://forums.coretabs.net/t/%D9%85%D8%A7-%D9%85%D8%B9%D9%86%D9%89-devops%D8%9F-%D8%AF%D9%84%D9%8A%D9%84%D9%83-%D8%A7%D9%84%D8%AA%D8%B7%D8%A8%D9%8A%D9%82%D9%8A-%D9%84%D9%85%D9%8A%D9%83%D9%86%D8%A9-%D9%85%D8%B4%D8%B1%D9%88%D8%B9%D8%A7%D8%AA%D9%83/4917) seem to render OK for me on Chrome as well.

 ![Code block with Arabic comments renders on Chrome](https://global.discourse-cdn.com/meta/original/3X/4/e/4ea58d50d578d4cb80a9e9e0c669fb430356b0d7.png)

If the issue persists on any of the browsers we [support,](https://github.com/discourse/discourse#requirements) we’d be happy to look into into it 👍

---

<div class="post-metadata">

### Author: ![AHMED\_ALRIFAI](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed_alrifai/32/184632_2.png) [@AHMED\_ALRIFAI](https://meta.discourse.org/u/AHMED_ALRIFAI)
#### Post date: [June 22, 2020, 9:25am UTC](https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503/3 "2020-06-22T09:25:01Z")

</div>

Yeah it did work in other browsers for me too, but the issue just in opera.  
but this is wierd i am using opera now and it works in your website without any problems.

btw sorry for my english.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [June 22, 2020, 5:19pm UTC](https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503/4 "2020-06-22T17:19:53Z")

</div>

If it works for you here on Meta but it’s not working on your site, then it might be a font issue. However, like I said we don’t support Opera.

The best thing I can recommend is to try safe-mode on your site

```plaintext
your.site.com/safe-mode

```

and see if the issue persists. If the issue does not occur in [safe mode](https://meta.discourse.org/t/53504?silent=true), then you might need to check your theme / css / font since it might be causing the problem on Opera.

---

<div class="post-metadata">

### Author: ![AHMED\_ALRIFAI](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed_alrifai/32/184632_2.png) [@AHMED\_ALRIFAI](https://meta.discourse.org/u/AHMED_ALRIFAI)
#### Post date: [June 22, 2020, 5:21pm UTC](https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503/5 "2020-06-22T17:21:26Z")

</div>

Ok. i will check it now, thanks

---

<div class="post-metadata">

### Author: ![Mohmmed\_Alhakeem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mohmmed_alhakeem/32/151438_2.png) [@Mohmmed\_Alhakeem](https://meta.discourse.org/u/Mohmmed_Alhakeem)
#### Post date: [July 3, 2020, 1:14pm UTC](https://meta.discourse.org/t/arabic-comments-in-code-block-dont-work-in-opera/155503/6 "2020-07-03T13:14:39Z")

</div>

This issue is related to the Arabic font and we’ve solved it by changing the `font-style` to `normal`, if anyone would like to keep the comments `italic` just change the typeface.
