We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6666666 + 73b4ee6 commit bca2561Copy full SHA for bca2561
datauri/__init__.py
@@ -68,7 +68,7 @@ def __repr__(self):
68
return "DataURI(%s)" % (super(DataURI, self).__repr__(),)
69
70
def wrap(self, width=76):
71
- return "\n".join(textwrap.wrap(self, width))
+ return "\n".join(textwrap.wrap(self, width, break_on_hyphens=False))
72
73
@property
74
def mimetype(self):
0 commit comments