argosopentech / argosopentech/translate-html

doctype is broken after translating

Open
#12 3 comments 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
Dominant language
Python
Stars
60
Forks
11
PR merge metrics
No merged PRs in 30d

Description

```html

```

is broken in
```html
html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"
```

![image](https://user-images.githubusercontent.com/64697405/235759242-593647f9-0f77-4a44-ad9c-f80f9817d9fa.png)

it is an example for this doctype but in general as soon as there is a complex doctype it breaks everything

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the complex HTML 4.01 doctype shown in the report and trace the HTML translation entry point. The fix is complete when translating this and similarly complex doctypes preserves the full declaration instead of removing the opening

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
localization, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.