aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/canvas_api/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/canvas_api/tutorial')
-rw-r--r--files/zh-cn/web/api/canvas_api/tutorial/drawing_shapes/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/canvas_api/tutorial/drawing_shapes/index.html b/files/zh-cn/web/api/canvas_api/tutorial/drawing_shapes/index.html
index 8eee553d23..d656a1ad23 100644
--- a/files/zh-cn/web/api/canvas_api/tutorial/drawing_shapes/index.html
+++ b/files/zh-cn/web/api/canvas_api/tutorial/drawing_shapes/index.html
@@ -188,7 +188,7 @@ translation_of: Web/API/Canvas_API/Tutorial/Drawing_shapes
<p>如果你想看到连续的线,你可以移除调用的moveTo()。</p>
<div class="note">
-<p><strong>注意:需要学习更多关于arc()函数的内容,请看下面的</strong>{{anch("圆弧")}}</p>
+<p><strong>注意:需要学习更多关于arc()函数的内容,请看下面的</strong><a href="#圆弧">圆弧</a></p>
</div>
<h3 id="线">线</h3>
@@ -400,7 +400,7 @@ translation_of: Web/API/Canvas_API/Tutorial/Drawing_shapes
<h3 id="矩形">矩形</h3>
-<p>直接在画布上绘制矩形的三个额外方法,正如我们开始所见的{{anch("绘制矩形")}},同样,也有rect()方法,将一个矩形路径增加到当前路径上。</p>
+<p>直接在画布上绘制矩形的三个额外方法,正如我们开始所见的<a href="#绘制矩形">绘制矩形</a>,同样,也有rect()方法,将一个矩形路径增加到当前路径上。</p>
<dl>
<dt><code>rect(<em>x</em>, <em>y</em>, <em>width</em>, <em>height</em>)</code></dt>