diff --git a/src/web/issue.rs b/src/web/issue.rs index 8982505..15123b7 100644 --- a/src/web/issue.rs +++ b/src/web/issue.rs @@ -1941,6 +1941,17 @@ mod tests { ); let content_html = item["content_html"].as_str().unwrap(); assert!(content_html.contains("
What it argues, and why it is worth the time.
"), + "{html}" + ); + assert!( + html.contains( + "{{ summary }}
{% when None %}{% endmatch %}{% if !entry.comment_links.is_empty() %} · {% for link in entry.comment_links %}{{ link.label }}{% endfor %}{% endif %}{{ summary }}
{% when None %}{% endmatch %}{% if !entry.comment_links.is_empty() %}{% for link in entry.comment_links %}{{ link.label }}{% if !loop.last %} · {% endif %}{% endfor %}
{% endif %}