diff options
author | Tanner Dolby <tannercdolby@gmail.com> | 2022-02-22 01:49:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 17:49:36 +0800 |
commit | 6e9fe98036090a37cc6247b873845505e5b512fb (patch) | |
tree | 5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/html | |
parent | 70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff) | |
download | translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2 translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip |
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements
* Removes all empty div elements
* Preserve empty div in code snippet
* Preserve empty elements inside code snippets
* Remove fr files which were converted into markdown
* Web/CSS/transform-function/scaleX()/index.html
The file is already renamed to index.md。
* remove not needed file
* Resolve remaining conflict
Co-authored-by: julieng <julien.gattelier@gmail.com>
Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/web/html')
-rw-r--r-- | files/zh-cn/web/html/element/abbr/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/html/element/bdo/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/html/element/cite/index.html | 4 | ||||
-rw-r--r-- | files/zh-cn/web/html/element/fieldset/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/html/element/hgroup/index.html | 6 | ||||
-rw-r--r-- | files/zh-cn/web/html/element/nav/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/html/element/template/index.html | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/files/zh-cn/web/html/element/abbr/index.html b/files/zh-cn/web/html/element/abbr/index.html index cf2fb9da5d..d773c725ee 100644 --- a/files/zh-cn/web/html/element/abbr/index.html +++ b/files/zh-cn/web/html/element/abbr/index.html @@ -16,7 +16,7 @@ translation_of: Web/HTML/Element/abbr <div>{{EmbedInteractiveExample("pages/tabbed/abbr.html", "tabbed-shorter")}}</div> -<div></div> + <p class="hidden">Github 的仓库中存储了该可交互化的示例项目。如果宁愿意为此可交互化的示例项目作出贡献,请克隆<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并向我们提起 pull 请求。</p> diff --git a/files/zh-cn/web/html/element/bdo/index.html b/files/zh-cn/web/html/element/bdo/index.html index 5d55b4eebc..e9140c1d23 100644 --- a/files/zh-cn/web/html/element/bdo/index.html +++ b/files/zh-cn/web/html/element/bdo/index.html @@ -5,7 +5,7 @@ translation_of: Web/HTML/Element/bdo --- <div>{{HTMLRef}}</div> -<div></div> + <p><span class="seoSummary">HTML 双向文本替代元素 (<strong><code><bdo></code></strong>) 改写了文本的方向性,</span>使文本以不同的方向渲染呈现出来<span class="seoSummary">(override 可以翻译很多意思,编程语言中多用覆盖,重载;这里采用了 Google 的整体翻译,取替代替换改写之意)</span></p> diff --git a/files/zh-cn/web/html/element/cite/index.html b/files/zh-cn/web/html/element/cite/index.html index 56e1a01f14..5447c8c678 100644 --- a/files/zh-cn/web/html/element/cite/index.html +++ b/files/zh-cn/web/html/element/cite/index.html @@ -203,7 +203,7 @@ translation_of: Web/HTML/Element/cite <p>{{Compat("html.elements.cite")}}</p> </div> -<div></div> + <div id="compat-desktop"></div> @@ -214,4 +214,4 @@ translation_of: Web/HTML/Element/cite <li>适用于行内引用的 {{HTMLElement("q")}} 元素。</li> </ul> -<div></div> + diff --git a/files/zh-cn/web/html/element/fieldset/index.html b/files/zh-cn/web/html/element/fieldset/index.html index 4b243490ba..ab2580410b 100644 --- a/files/zh-cn/web/html/element/fieldset/index.html +++ b/files/zh-cn/web/html/element/fieldset/index.html @@ -14,7 +14,7 @@ translation_of: Web/HTML/Element/fieldset <div><strong>HTML <code><fieldset></code> </strong>元素用于对表单中的控制元素进行分组(也包括 label 元素)。</div> -<div></div> + <div>{{EmbedInteractiveExample("pages/tabbed/fieldset.html", "tabbed-standard")}}</div> diff --git a/files/zh-cn/web/html/element/hgroup/index.html b/files/zh-cn/web/html/element/hgroup/index.html index c7849284bf..393e922126 100644 --- a/files/zh-cn/web/html/element/hgroup/index.html +++ b/files/zh-cn/web/html/element/hgroup/index.html @@ -13,15 +13,15 @@ translation_of: Web/HTML/Element/hgroup --- <div>{{HTMLRef}}</div> -<div></div> + <div><strong>HTML <code><hgroup></code> element</strong>代表文档章节所属的多级别的目录,它将多个<h1>至<h6>的子元素组装到一起。</div> -<div></div> + <div>{{EmbedInteractiveExample("pages/tabbed/hgroup.html", "tabbed-standard")}}</div> -<div></div> + <table class="properties"> <tbody> diff --git a/files/zh-cn/web/html/element/nav/index.html b/files/zh-cn/web/html/element/nav/index.html index 45d76f6ea5..4c64377b0c 100644 --- a/files/zh-cn/web/html/element/nav/index.html +++ b/files/zh-cn/web/html/element/nav/index.html @@ -104,4 +104,4 @@ translation_of: Web/HTML/Element/nav <li><a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role">ARIA: Navigation role</a></li> </ul> -<div></div> + diff --git a/files/zh-cn/web/html/element/template/index.html b/files/zh-cn/web/html/element/template/index.html index a47cd42d6d..836b8a2cfa 100644 --- a/files/zh-cn/web/html/element/template/index.html +++ b/files/zh-cn/web/html/element/template/index.html @@ -153,4 +153,4 @@ table td { <li><a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_templates_and_slots">Using templates and slots</a></li> </ul> -<div></div> + |