1<?php
2// $Header: /cvsroot/html2ps/xhtml.deflist.inc.php,v 1.3 2005/04/27 16:27:46 Konstantin Exp $
3
4function process_dd(&$sample_html, $offset) {
5  return autoclose_tag($sample_html, $offset, "(dt|dd|dl|/dl|/dd)", array("dl" => "process_dl"), "/dd");
6}
7
8function process_dt(&$sample_html, $offset) {
9  return autoclose_tag($sample_html, $offset, "(dt|dd|dl|/dl|/dd)", array("dl" => "process_dl"), "/dt");
10}
11
12function process_dl(&$sample_html, $offset) {
13  return autoclose_tag($sample_html, $offset, "(dt|dd|/dl)",
14                       array("dt" => "process_dt",
15                             "dd" => "process_dd"),
16                       "/dl");
17};
18
19function process_deflists(&$sample_html, $offset) {
20  return autoclose_tag($sample_html, $offset, "(dl)",
21                       array("dl" => "process_dl"),
22                       "");
23};
24
25?>