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
(minor bug) parenthesis in text #72
Comments
I've encountered this, too. For now I've worked around it by using [ ] instead of ( ) in my text |
Could you
E.g. option(value: myVal({a:1}) ) => attributes = eval( "{" + "value: myVal({a:1})" +"}"); |
that is what I did with haml I believe, but its a bit more complicated in jade. and this bug here has nothing to do with attributes, we just need a context, because technically right now below would keep trying to parse attributes
|
sorry - i don't quite understand. Are you saying that jade wants to support multiple sets of attributes ? (seems unnecessary if so ?) |
it wont work because I only check for attrs once, but the lexer continues to chomp away at "(" as if it were an attribute token |
wow, ok. haha I will fix this soon, I rarely use jade since im always working on.. jade, and other framework/libraries, haha so now that im actually building a few little apps, i realize how annoying this bug is |
Using this
option(value='') -- (optional) Predefined services --
will result in a 'SyntaxError: Unexpected token )' error.
Escaping the ( ) also results in an error.
The text was updated successfully, but these errors were encountered: