fix dataurl wrap
Merge pull request #186 from cgalvarino/fix_data_url-r2

OOIION-1570: fix dataurl wrap