Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 特殊情况下翻译后文本中生成HTML元素 #194

Open
du33169 opened this issue Nov 20, 2024 · 0 comments
Open

[BUG] 特殊情况下翻译后文本中生成HTML元素 #194

du33169 opened this issue Nov 20, 2024 · 0 comments

Comments

@du33169
Copy link

du33169 commented Nov 20, 2024

最小示例:

<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hello World</title>
</head>

<body>
    <h1>Hello World!</h1>
    <p >This defines a 
        <a  href="#"><code>&lt;button&gt;</code></a>
        <code>component</code>  <!-- necessary-->
    </p>
</body>

</html>

翻译结果:
图片

常见于技术文档场景。
这个bug或许存在脚本注入的风险,但我做了一些尝试没有成功。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant