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 fcd155a commit 8994498Copy full SHA for 8994498
spring-webmvc/src/test/java/org/springframework/web/servlet/view/freemarker/FreeMarkerMacroTests.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2002-2015 the original author or authors.
+ * Copyright 2002-2016 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -326,6 +326,7 @@ private String getMacroOutput(String name) throws Exception {
326
327
// tokenize output and ignore whitespace
328
String output = response.getContentAsString();
329
+ output = output.replace("\r\n", "\n");
330
return output.trim();
331
}
332
0 commit comments