Skip to content

Conversation

@ypresto
Copy link

@ypresto ypresto commented Mar 21, 2015

Related to #83.

Currently single quote attributes compiled into html_escape('single_quoted_string').
This is just work but not very good at performance and backslashes (perhaps attr: 'a\b' compiled into html_escape('\') and it should be html_escape('\\')).

This PR adds support for compiling single quoted attributes into simple string.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, sorry, but atom.io removes all trailing spaces automatically.

@ypresto ypresto changed the title Support sigle quotes Support single quotes Mar 21, 2015
@adamdicarlo
Copy link

@ypresto cool, this is a big help, though it doesn't seem to support quotes inside single quotes, like

%foo(attr='a"b"c')

whereas

%foo(attr="a'b'c")

works

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 this pull request may close these issues.

2 participants