瀏覽代碼

Added a (CSS hidden) hr tag after each post.

default 1 年之前
父節點
當前提交
bb5a2445da
共有 1 個文件被更改,包括 5 次插入 和 0 次删除
  1. 5 0
      html.c

+ 5 - 0
html.c

@@ -2731,6 +2731,11 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
         }
         }
     }
     }
 
 
+    /* add an invisible hr, to help differentiate between posts in text browsers */
+    xs_html_add(entry_top,
+        xs_html_sctag("hr",
+            xs_html_attr("style", "display: none")));
+
     return entry_top;
     return entry_top;
 }
 }