ampproject / ampproject/amphtml
Amp stories navigation helper text not properly escaped when localization is set to "de"
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
When you swipe on an amp story on mobile, the helper text on the navigation is broken when localization is set to "de".
### Reproduction Steps
- Create an amp story.
- Set the HTML element lang attribute to "de".
- Swipe the story to the left or right to get the navigation helper text.
- You should see text "Tippe auf \\'Zuruck?\\'" and "Tippe auf \\'Weiter\\'"
### Relevant Logs
_No response_
### Browser(s) Affected
Chrome, Firefox, Safari, Edge, UC Browser
### OS(s) Affected
_No response_
### Device(s) Affected
_No response_
### AMP Version Affected
_No response_
Contributor guide
Research direction
Start by reproducing the issue with an AMP story whose HTML lang attribute is set to "de", then trace the navigation helper text shown after swiping left or right. Done means the German helper text renders correctly without unwanted escaping in the affected browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100