Skip to content

Suggestion: Avoid Encoding Non-SVG Inputs #75

Description

@pirateIV

Suggestion

Currently, the tool encodes any input into a URL, assuming the input is always an SVG. However, there might be cases where users provides non-SVG inputs, leading to incorrect encoding.

Propesed Feature

  • Implement a check to determine if input is a valid SVG.
  • If the input is not an SVG, the tool should either:
    • Return an error message indicating the input is not an SVG.
    • Simply skip the encoding process and return the input as-is.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions