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

HTML Tags: Doesn't parse ref tag name parameters with double-quotes and hyphen #30

Closed
earwig opened this Issue May 3, 2013 · 2 comments

Comments

Projects
None yet
1 participant
@earwig
Owner

earwig commented May 3, 2013

Hey Earwig, try testing this:
wikicode = Builder().build(Tokenizer().tokenize('<ref name="a-b">'))
Error I get is: in my local tokenizer.py, line 472, in _actually_close_tag_opening:
if isinstance(self._stack[-1], tokens.TagAttrStart): IndexError: list index out of range
Only seems to occur when: 1) It's a ref tag, 2) name parameter is specified and has a value with certain characters in it, like - (hyphen) or = (equals), 3) the name parameter value is in double-quote. Bug? Zad68 14:10, 14 March 2013 (UTC)

[1]

@ghost ghost assigned earwig May 3, 2013

@earwig

This comment has been minimized.

Show comment
Hide comment
@earwig

earwig May 3, 2013

Owner

Adding that ampersands also affect this. I believe I know what is causing the problem.

Owner

earwig commented May 3, 2013

Adding that ampersands also affect this. I believe I know what is causing the problem.

@earwig

This comment has been minimized.

Show comment
Hide comment
@earwig

earwig Jun 1, 2013

Owner

Fixed in d2b3954.

Owner

earwig commented Jun 1, 2013

Fixed in d2b3954.

@earwig earwig closed this Jun 1, 2013

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