Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Dec 1, 2021
1 parent beed155 commit 7f23d1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions segno/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def delete_file(name):
def svg_data_uri(self, xmldecl=False, encode_minimal=False,
omit_charset=False, nl=False, **kw):
"""\
Converts the QR code into a SVG data URI.
Converts the QR code into an SVG data URI.
The XML declaration is omitted by default (set
:paramref:`xmldecl <segno.QRCode.svg_data_uri.xmldecl>` to ``True``
Expand Down Expand Up @@ -484,10 +484,10 @@ def svg_data_uri(self, xmldecl=False, encode_minimal=False,

def svg_inline(self, **kw):
"""\
Returns a SVG representation which is embeddable into HTML5 contexts.
Returns an SVG representation which is embeddable into HTML5 contexts.
Due to the fact that HTML5 directly supports SVG, various elements of
a SVG document can or should be suppressed (i.e. the XML declaration and
an SVG document can or should be suppressed (i.e. the XML declaration and
the SVG namespace).
This method returns a string that can be used in an HTML context.
Expand Down

0 comments on commit 7f23d1e

Please sign in to comment.