8000 command line tool needs to escape single quotes in raw text · Issue #18 · erector/erector · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

command line tool needs to escape single quotes in raw text #18

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

Open
alexch opened this issue Sep 16, 2011 · 0 comments
Open

command line tool needs to escape single quotes in raw text #18

alexch opened this issue Sep 16, 2011 · 0 comments

Comments

@alexch
Copy link
Member
alexch commented Sep 16, 2011

Just tried to convert an HTML file with a Google Analytics script; got this:

  script :type => 'text/javascript' do
    text '//'
    rawtext '<![CDATA[
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-12345-1']);

when it should have been this:

  script :type => 'text/javascript' do
    text '//'
    rawtext '<![CDATA[
  var _gaq = _gaq || [];
  _gaq.push([\'_setAccount\', \'UA-12345-1\']);
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
0