acl-org / acl-org/acl-anthology
Self-closing markup tags should be disallowed or handled correctly
- 主要语言
- Python
- 星标
- 797
- 派生
- 408
- 平均合并
- 3 天 19 小时
- 30 天内合并 PR
- 36
描述
> The XML has a self-closing `` tag, which is technically allowed by the schema. I believe it’s not valid HTML, though, which may be why some part of the Hugo pipeline turns it into a ``. I guess we could (i) check if the schema can be written to disallow empty markup elements, and/or (ii) replace these with something valid in our `MarkupText.as_html()`.
_Originally posted by @mbollmann in [#6407](https://github.com/acl-org/acl-anthology/issues/6407#issuecomment-3507894193)_
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by reading the schema handling the self-closing element and the MarkupText.as_html() entry point, then trace where the Hugo pipeline changes it. Done means the project consistently either rejects empty markup elements or renders them as valid HTML, with the chosen behavior verified in the relevant checks.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- html, hugo, python
- 领域
- content, web-dev
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100