Skip to content

Folding interacts poorly with RTL #2894

@ehuss

Description

@ehuss

Problem

When folding is enabled, and using RTL, the chevrons rotate in the wrong direction. The open points up, and the closed points left. I believe when open it should point down.

Image

Steps

Enable RTL and folding:

[book]
title = "rtl"
text-direction = "rtl"

[output.html.fold]
enable = true
level = 0

Possible Solution(s)

No response

Notes

No response

Version

mdbook v0.5.0-alpha.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-HTMLArea: HTML RenderingC-bugCategory: A bug, incorrect or unintended behaviorS-foldArea: The chapter fold feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions