浏览代码

Added missing alt attribute to <img> tag in docs.

ssanger 5 月之前
父节点
当前提交
df6013b2b4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/ref/templates/builtins.txt

+ 1 - 1
docs/ref/templates/builtins.txt

@@ -3100,7 +3100,7 @@ slightly different call:
 
     {% load static %}
     {% static "images/hi.jpg" as myphoto %}
-    <img src="{{ myphoto }}">
+    <img src="{{ myphoto }}" alt="Hi!">
 
 .. admonition:: Using Jinja2 templates?