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

XSL doesn't like double quotes and single quotes together in attributes #31

Open
philshafer opened this issue Jun 23, 2015 · 0 comments

Comments

@philshafer
Copy link
Contributor

Jothivel S writes:

As Phil said,if a string has combination of single quotes and double quotes, it doesn't
work and if a string has only single quotes or only double quotes, then it works fine as
expected.

The fix would be to teach libslax to notice both quotes are in use
in a static string and use concat() to automagickally build a string
containing both quotes:

var $x = concat('"You', "can't", '", she said');

Lacking that, you'll need to resort to this trick by hand.

Thanks,
Phil

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

No branches or pull requests

1 participant