sasjs / cli

Command line interface for creating, compiling, and building SAS® projects
https://cli.sasjs.io
MIT License
37 stars 5 forks source link

support css and video links in `sasjs compile` #1112

Closed allanbowe closed 2 years ago

allanbowe commented 2 years ago

sasjs compile does not currently support links in video tags, or css, eg as follows:

put '  <style>';
put '    @font-face {';
put '      font-family: myFirstFont;';
put '      src: url(assets/fa-solid-900.ttf);';
put '    }';
put ' ';
put '    h2 {';
put '      font-family: myFirstFont;';
put '      color: darkgreen;';
put '    }';
put '  </style>';
put '</head>';
put ' ';
put '<body>';
put '  <h2>This font is awesome</h2>';
put ' ';
put '  <video width="480" height="320" controls="controls">';
put '    <source src="assets/cat.mp4" type="video/mp4">';
put '  </video>';

To reproduce - see: https://github.com/4glio/woffdemo

ghost commented 2 years ago

:tada: This issue has been resolved in version 3.6.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: