diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 15 |
2 files changed, 17 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 8718b9d4ca7..7f3dae659bc 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -3,6 +3,8 @@ | |||
| 3 | * shr.el (shr-tag-table): Insert the images after the table, so that | 3 | * shr.el (shr-tag-table): Insert the images after the table, so that |
| 4 | they're not covered by the table colourisation, which often looked | 4 | they're not covered by the table colourisation, which often looked |
| 5 | awkward. | 5 | awkward. |
| 6 | (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and | ||
| 7 | <dd>. | ||
| 6 | 8 | ||
| 7 | 2013-06-18 Katsumi Yamaoka <yamaoka@jpl.org> | 9 | 2013-06-18 Katsumi Yamaoka <yamaoka@jpl.org> |
| 8 | 10 | ||
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 1c940bebc50..f3a396a94b5 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -1139,6 +1139,21 @@ ones, in case fg and bg are nil." | |||
| 1139 | (shr-generic cont)) | 1139 | (shr-generic cont)) |
| 1140 | (shr-ensure-paragraph)) | 1140 | (shr-ensure-paragraph)) |
| 1141 | 1141 | ||
| 1142 | (defun shr-tag-dl (cont) | ||
| 1143 | (shr-ensure-paragraph) | ||
| 1144 | (shr-generic cont) | ||
| 1145 | (shr-ensure-paragraph)) | ||
| 1146 | |||
| 1147 | (defun shr-tag-dt (cont) | ||
| 1148 | (shr-ensure-newline) | ||
| 1149 | (shr-generic cont) | ||
| 1150 | (shr-ensure-newline)) | ||
| 1151 | |||
| 1152 | (defun shr-tag-dd (cont) | ||
| 1153 | (shr-ensure-newline) | ||
| 1154 | (let ((shr-indentation (+ shr-indentation 4))) | ||
| 1155 | (shr-generic cont))) | ||
| 1156 | |||
| 1142 | (defun shr-tag-ul (cont) | 1157 | (defun shr-tag-ul (cont) |
| 1143 | (shr-ensure-paragraph) | 1158 | (shr-ensure-paragraph) |
| 1144 | (let ((shr-list-mode 'ul)) | 1159 | (let ((shr-list-mode 'ul)) |