Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string index out of range #50

Open
Goury opened this issue Aug 19, 2023 · 0 comments · May be fixed by #51
Open

string index out of range #50

Goury opened this issue Aug 19, 2023 · 0 comments · May be fixed by #51

Comments

@Goury
Copy link

Goury commented Aug 19, 2023

  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.

@Goury Goury linked a pull request Aug 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant