feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Cannot translate html page with details element

Open mattgarrish opened this issue 8 months ago • 1 comments

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.

mattgarrish avatar Jun 21 '24 12:06 mattgarrish