Skip to content

string index out of range #50

Open
@Goury

Description

@Goury
  File "venv/lib/python3.10/site-packages/precise_bbcode/bbcode/defaults/tag.py", line 114, in render
    if href[0] == href[-1] and href[0] in ('"', '\'') and len(href) > 2:

Exception Type: IndexError at /
Exception Value: string index out of range

Happens with short hrefs.
I'll fix it in a moment.

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