mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
add new line and line feed to xml
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75bdf0f182
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-11 (Wed, 11 Mar 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -139,6 +139,12 @@ int saveStringToXMLfile(FILE *out, const char *c, int /*withControlCodes*/)
|
|||||||
case '\'':
|
case '\'':
|
||||||
fprintf(out, "'");
|
fprintf(out, "'");
|
||||||
break;
|
break;
|
||||||
|
case 0x0a:
|
||||||
|
fprintf(out,"
");
|
||||||
|
break;
|
||||||
|
case 0x0d:
|
||||||
|
fprintf(out,"
");
|
||||||
|
break;
|
||||||
#if 0
|
#if 0
|
||||||
case 0x81:
|
case 0x81:
|
||||||
case 0x82:
|
case 0x82:
|
||||||
|
@@ -96,6 +96,13 @@ namespace ZapitTools {
|
|||||||
case '\'':
|
case '\'':
|
||||||
r += "'";
|
r += "'";
|
||||||
break;
|
break;
|
||||||
|
case 0x0a:
|
||||||
|
r +="
";
|
||||||
|
break;
|
||||||
|
case 0x0d:
|
||||||
|
r +="
";
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
r += *s;
|
r += *s;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user