We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bcfc2e3 + d29fa82 commit cd4118aCopy full SHA for cd4118a
1 file changed
structural/decorator.py
@@ -13,7 +13,7 @@ def render(self):
13
return self._text
14
15
16
-class BoldWrapper(object):
+class BoldWrapper(TextTag):
17
"""Wraps a tag in <b>"""
18
def __init__(self, wrapped):
19
self._wrapped = wrapped
@@ -22,7 +22,7 @@ def render(self):
22
return "<b>{}</b>".format(self._wrapped.render())
23
24
25
-class ItalicWrapper(object):
+class ItalicWrapper(TextTag):
26
"""Wraps a tag in <i>"""
27
28
0 commit comments