Append an opening tag.
(self, **kwargs)
| 118 | raise DeprecationError(self.tag) |
| 119 | |
| 120 | def open(self, **kwargs): |
| 121 | """Append an opening tag.""" |
| 122 | |
| 123 | if self.tag in self.parent.twotags or self.tag in self.parent.onetags: |
| 124 | self.render(self.tag, False, None, kwargs) |
| 125 | elif self.mode == 'strict_html' and self.tag in self.parent.deptags: |
| 126 | raise DeprecationError(self.tag) |
| 127 | |
| 128 | |
| 129 | class page: |
no test coverage detected