1<?php
2
3namespace Mpdf\Tag;
4
5abstract class SubstituteTag extends Tag
6{
7
8	public function close(&$ahtml, &$ihtml)
9	{
10		$tag = $this->getTagName();
11		if ($this->mpdf->InlineProperties[$tag]) {
12			$this->mpdf->restoreInlineProperties($this->mpdf->InlineProperties[$tag]);
13		}
14		unset($this->mpdf->InlineProperties[$tag]);
15		$ltag = strtolower($tag);
16		$this->mpdf->$ltag = false;
17	}
18}
19