You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When [quote name=""]Body text[/quote] is parsed, @attributes[:name] is an empty array. Is this expected behavior? I'd have expected it to be an empty string, or maybe nil.
The text was updated successfully, but these errors were encountered:
@jwarchol I'm not sure there is a test for this particular input with an empty attribute value. I'm not actively working on this project at the moment but would be happy to merge in a PR and release a new version if you wanted to change the behaviour.
I think the sensible thing to return in this situation would be an empty string as you suggest.
When
[quote name=""]Body text[/quote]
is parsed,@attributes[:name]
is an empty array. Is this expected behavior? I'd have expected it to be an empty string, or maybe nil.The text was updated successfully, but these errors were encountered: