Skip to content

Cannot translate html page with details element #142

Description

@mattgarrish

Summary

If an html page contains a details element, whether opened or collapsed by default, its body is not translatable in the gitlocalize interface.

Steps to reproduce

  • Create an html page with a details element in the body
  • Open the page to translate

Repository URL

The following page uses details elements for descriptions:
https://github.com/daisy/kb/blob/main/publishing/docs/epub/validation/smart.html

What is the current bug behavior?

Only the Head section is translatable. The Body cannot be clicked on to translate the text regardless of whether the text is in the details element or not.

What is the expected correct behavior?

All the text of the page should be translatable, including within the details element.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions