Commit d2aa9780 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka

lisp/gnus/shr.el: (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and <dd>

parent a020afb9
......@@ -3,6 +3,8 @@
* shr.el (shr-tag-table): Insert the images after the table, so that
they're not covered by the table colourisation, which often looked
awkward.
(shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
<dd>.
2013-06-18 Katsumi Yamaoka <yamaoka@jpl.org>
......
......@@ -1139,6 +1139,21 @@ ones, in case fg and bg are nil."
(shr-generic cont))
(shr-ensure-paragraph))
(defun shr-tag-dl (cont)
(shr-ensure-paragraph)
(shr-generic cont)
(shr-ensure-paragraph))
(defun shr-tag-dt (cont)
(shr-ensure-newline)
(shr-generic cont)
(shr-ensure-newline))
(defun shr-tag-dd (cont)
(shr-ensure-newline)
(let ((shr-indentation (+ shr-indentation 4)))
(shr-generic cont)))
(defun shr-tag-ul (cont)
(shr-ensure-paragraph)
(let ((shr-list-mode 'ul))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment