absolutify icon indicating copy to clipboard operation
absolutify copied to clipboard

Replace relative URLs with absolute in a given HTML string.

Results 6 absolutify issues
Sort by recently updated
recently updated
newest added

The following HTML string is not converting to an absolute path, kindly check and fix. ```   @import url("../assets/css/style.css");   @import url("../assets/plugins/datatable/css/jquery.dataTables.min.css");   @import url("../assets/plugins/datatable/css/semantic.min.css");   @import url("../assets/plugins/datatable/css/dataTables.semanticui.min.css"); ```  

It seems like attributes in uppercase, for example: ``` ``` are not detected. Is this as intended? Happy to submit a PR to fix this!

```src``` attributes are handled, but not ```srcset``` which provides a comma delimited list of image urls to be used for different screen sizes. More info on ```srcset``` [here](https://www.w3schools.com/tags/att_source_srcset.asp). Ultimately I'll...

A lot of people simply link to relative files like this: `...`. Therefore the following test should also be green: ```javascript it('string replace relative files', function() { assert.strictEqual( absolutify( 'Section'...

Currently the following strings won't be changed corresponding to the tests: * `www.foo.com` * `google.com` * `http://www.bar.com` * `//baz.com` from [test.js](https://github.com/sorensen/absolutify/blob/master/test.js): ```javascript // Non-changing string, should not get replaced var...