diff options
author | portix <none@none> | 2012-11-22 00:27:35 +0100 |
---|---|---|
committer | portix <none@none> | 2012-11-22 00:27:35 +0100 |
commit | ef8b9a8148d4ef36cc90dc1f8098cedd55d1ae6f (patch) | |
tree | d4ac374fab999438681f75cacb7a81bbb96e8bbe /src | |
parent | 9cf59535dc1e9cc37237a7ddfefd164a444a2470 (diff) | |
download | dwb-ef8b9a8148d4ef36cc90dc1f8098cedd55d1ae6f.zip |
Ellipsize dwb:-links correctly
Diffstat (limited to 'src')
-rw-r--r-- | src/html.c | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -144,15 +144,17 @@ html_navigation(GList *gl, GList *data, HtmlTable *table) { <tr class='dwb_table_row'>\n\ <td class=dwb_table_cell_left>\n\ <a href='%s'>\n\ + <div class='dwb_ellipsize'>\n\ %s\n\ + </div>\n\n\ </a>\n\ </td>\n\ <td class='dwb_table_cell_middle'>\n\ - <div class='dwb_ellipsize'>\n\ - <a style='color:inherit;font:inherit;' href='%s'>\n\ + <a style='color:inherit;font:inherit;' href='%s'>\n\ + <div class='dwb_ellipsize'>\n\ %s\n\ + </div>\n\ </a>\n\ - </div>\n\ </td>\n\ <td class='dwb_table_cell_right' style='cursor:pointer;' navigation='%s %s' onclick='location.reload()'>\n\ ×\n\ @@ -412,16 +414,18 @@ html_quickmarks(GList *gl, HtmlTable *table) { <div>\n\ <div class='dwb_qm'>%s</div>\n\ <a href='%s'>\n\ + <div class='dwb_ellipsize'>\n\ %s\n\ + </div>\n\ </a>\n\ </div>\n\ </td>\n\ <td class='dwb_table_cell_middle'>\n\ - <div class='dwb_ellipsize'>\n\ <a style='color:inherit;font:inherit;' href='%s'>\n\ + <div class='dwb_ellipsize'>\n\ %s\n\ + </div>\n\ </a>\n\ - </div>\n\ </td>\n\ <td class='dwb_table_cell_right' style='cursor:pointer;' navigation='%s %s %s' onclick='location.reload()'>×</td>\n\ </tr>", q->key, q->nav->first, q->nav->second && g_strcmp0(q->nav->second, "(null)") ? q->nav->second : q->nav->first, |