diff --git a/aio/content/guide/styleguide.md b/aio/content/guide/styleguide.md index 205b7b118d..7babc9eac4 100644 --- a/aio/content/guide/styleguide.md +++ b/aio/content/guide/styleguide.md @@ -4662,4 +4662,5 @@ Useful tools and tips for Angular. Back to top + 回到顶部 diff --git a/aio/content/guide/template-syntax.md b/aio/content/guide/template-syntax.md index c20537bdac..172a7ec389 100644 --- a/aio/content/guide/template-syntax.md +++ b/aio/content/guide/template-syntax.md @@ -1520,7 +1520,7 @@ Here's how the table renders: Six - + 六列 diff --git a/aio/tools/translator/bin/translate-one.ts b/aio/tools/translator/bin/translate-one.ts index ee6b2252d4..a8ac6b1e82 100644 --- a/aio/tools/translator/bin/translate-one.ts +++ b/aio/tools/translator/bin/translate-one.ts @@ -3,5 +3,5 @@ import { dirs } from '../dirs'; import { translateFile } from '../translate'; -const filename = 'guide/router.md'; +const filename = 'guide/template-syntax.md'; translateFile(__dirname + '/../../../../../content-en/' + filename, dirs.content + filename); diff --git a/aio/tools/translator/utils.spec.ts b/aio/tools/translator/utils.spec.ts index 9955dfe413..2c057336a8 100644 --- a/aio/tools/translator/utils.spec.ts +++ b/aio/tools/translator/utils.spec.ts @@ -279,6 +279,18 @@ ng generate directive highlight `); }); + + it('拆解任意位置的 ', function () { + expect(normalizeLines(` + abc +`)).eql(` + + + abc + + +`); + }); it('拆解独行的 li', function () { expect(normalizeLines(`