Sfoglia il codice sorgente

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

ssanger 5 mesi fa
parent
commit
df6013b2b4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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?