mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Fixing issue in File Reader/Writer when newlines in file
This commit is contained in:
@@ -175,6 +175,7 @@ public class FileUtils extends Plugin {
|
||||
String line;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
data.append(line);
|
||||
data.append('\n');
|
||||
}
|
||||
return data.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user