JPeer264 / node-rcs-core

Rename css selectors across all files
MIT License
37 stars 7 forks source link

espree can't handle inline JSONs #70

Closed matthiasrohmer closed 5 years ago

matthiasrohmer commented 5 years ago

Using rcs.replace.html fails for markup that contains inline JSONs like this one for example:

<amp-animation id="switchFormat" layout="nodisplay">
  <script type="application/json">
    {
       "duration": "0.4s",
       "delay": "0.4s"
    }
  </script>
</amp-animation>

I am not quite sure what's the best way to handle this - maybe exclude specific Githubissues.

  • Githubissues is a development platform for aggregating issues.