Skip to content

Commit 606308e

Browse files
Rename Options to RenderOptions
1 parent 9b645ce commit 606308e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyhtml/__tags/comment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""
66

77
from .. import __util as util
8-
from ..__render_options import FullOptions
8+
from ..__render_options import FullRenderOptions
99
from ..__tag_base import Tag
1010

1111

@@ -45,7 +45,7 @@ def _get_tag_name(self) -> str:
4545
# and is never used since we override _render
4646
return "!--" # pragma: no cover
4747

48-
def _render(self, indent: str, options: FullOptions) -> list[str]:
48+
def _render(self, indent: str, options: FullRenderOptions) -> list[str]:
4949
"""
5050
Override of render, to render comments
5151
"""

pyhtml/__tags/dangerous_raw_html.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Definition for the DangerousRawHtml tag.
55
"""
66

7-
from ..__render_options import FullOptions
7+
from ..__render_options import FullRenderOptions
88
from ..__tag_base import Tag
99
from ..__util import increase_indent
1010

@@ -48,5 +48,5 @@ def _get_tag_name(self) -> str:
4848
# and is never used since we override _render
4949
return "!!!DANGEROUS RAW HTML!!!" # pragma: no cover
5050

51-
def _render(self, indent: str, options: FullOptions) -> list[str]:
51+
def _render(self, indent: str, options: FullRenderOptions) -> list[str]:
5252
return increase_indent(self.html_data.splitlines(), indent)

0 commit comments

Comments
 (0)