diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-19 20:31:15 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-19 20:31:15 +1000 |
| commit | 5438d7cf64cb1dc686dcd1ebb8ba38cc0c5e4ca1 (patch) | |
| tree | fc6088aece632d74b37b281cd77cd954569fe0ab | |
| parent | 69741e6c08c86e24fd4d90efc34c9d269a458201 (diff) | |
add alt="" to flags to make it standards-compliant
| -rw-r--r-- | templates/post_reply.html | 2 | ||||
| -rw-r--r-- | templates/post_thread.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html index 28cbd7f8..a1feb005 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -31,7 +31,7 @@ {% if config.display_flags and post.modifiers.flag %} <img class="flag" src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}" style="{% if post.modifiers['flag style'] %}{{ post.modifiers['flag style'] }}{% else %}{{ config.flag_style }}{% endif %}" - {% if post.modifiers['flag alt'] %}title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> + {% if post.modifiers['flag alt'] %}alt="{{ post.modifiers['flag alt'] | e('html_attr') }}" title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> {% endif %} <time datetime="{{ post.time|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time> </label> diff --git a/templates/post_thread.html b/templates/post_thread.html index 0ee3f6fa..5910bb74 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -85,7 +85,7 @@ {% if config.display_flags and post.modifiers.flag %} <img class="flag" src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}" style="{% if post.modifiers['flag style'] %}{{ post.modifiers['flag style'] }}{% else %}{{ config.flag_style }}{% endif %}" - {% if post.modifiers['flag alt'] %}title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> + {% if post.modifiers['flag alt'] %}alt="{{ post.modifiers['flag alt'] | e('html_attr') }}" title="{{ post.modifiers['flag alt'] | e('html_attr') }}"{% endif %}> {% endif %} <time datetime="{{ post.time|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time> </label> |
