SHOW:
|
|
- or go back to the newest paste.
1 | StreamReader sr = new StreamReader(@AdressIN, Encoding.GetEncoding(1251)); | |
2 | StreamWriter sw = File.CreateText(@AdressOUT); | |
3 | string start = | |
4 | @"<!DOCTYPE html> | |
5 | <html> | |
6 | <head> | |
7 | <meta charset = ""utf-8""> | |
8 | <title>New Page</title> | |
9 | </head> | |
10 | <body> | |
11 | <p>"; | |
12 | - | string end = |
12 | + | string end = "</p>\n</body>\n</html>"; |
13 | - | @"</p> |
13 | + |