We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59ff47 commit 69eb4e9Copy full SHA for 69eb4e9
plotly/plotly_offline_aux/plotlyoffline.m
@@ -82,8 +82,8 @@
82
plotlyOfflineFile = fullfile(plotlyfig.PlotOptions.SaveFolder, ...
83
htmlFilename);
84
fileID = fopen(plotlyOfflineFile, 'w');
85
- fprintf(fileID, offlineScript);
86
- fclose(fileID);
+ fprintf(fileID, '%s', offlineScript);
+ fclose(fileID);
87
88
% remove any whitespace from the plotlyOfflineFile path
89
plotlyOfflineFile = strrep(plotlyOfflineFile, ' ', '%20');
0 commit comments