Skip to content

Non-English Tutorial Section Images Render Markup #2206

@scottilee

Description

@scottilee

🐛 Bug Report

Images in the tutorial section of https://docusaurus.io display larger and with markup {.docImage} if viewed in any language other than English.

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

(Write your steps here:)

  1. Navigate to https://docusaurus.io/docs/en/tutorial-setup
  2. Click "English" in the top navigation and switch to any non-English language
  3. When the page reloads images will be larger and there will be {.docImage} markup below the image

Expected behavior

When viewing the tutorial section in any non-English language there should be no {.docImage} markup below images and images should not change size.

Actual Behavior

When viewing the tutorial section in any non-English language there is {.docImage} markup below images and images change size.

Reproducible Demo

(a) what it looks like for English and should look like for any language
Screen Shot 2020-01-11 at 12 35 34 AM

(b) what it looks like for non-English
Screen Shot 2020-01-11 at 12 36 41 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executiondifficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.help wantedAsking for outside help and/or contributions to this particular issue or PR.v1This issue is for Docusaurus 1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions