Commit 7d4542b
committed
Alternative fix for #393
This keeps whitespace around comments while they're
extracted from the content, and leaves it up to
stripWhitespace later on to strip when appropriate,
ensureing that only the contents of the comment are
preserved or stripped (in stripComments), not the
whitespace around it.1 parent 0c77ac9 commit 7d4542b
2 files changed
+22
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 212 | + | |
217 | 213 | | |
218 | 214 | | |
219 | | - | |
| 215 | + | |
220 | 216 | | |
221 | 217 | | |
222 | 218 | | |
223 | | - | |
| 219 | + | |
224 | 220 | | |
225 | 221 | | |
226 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
1347 | 1362 | | |
1348 | 1363 | | |
1349 | 1364 | | |
| |||
1359 | 1374 | | |
1360 | 1375 | | |
1361 | 1376 | | |
1362 | | - | |
| 1377 | + | |
1363 | 1378 | | |
1364 | 1379 | | |
1365 | 1380 | | |
1366 | 1381 | | |
1367 | 1382 | | |
1368 | | - | |
1369 | 1383 | | |
1370 | 1384 | | |
1371 | 1385 | | |
0 commit comments