Use HTTPS for externals links where possible

See gh-611
This commit is contained in:
Spring Operator
2019-03-26 04:43:01 -05:00
committed by Andy Wilkinson
parent c2c4ed7752
commit cb5d7c2220
4 changed files with 49 additions and 49 deletions

View File

@@ -82,7 +82,7 @@ public class PrettyPrintingContentModifier implements ContentModifier {
public byte[] prettyPrint(byte[] original) throws Exception {
Transformer transformer = TransformerFactory.newInstance().newTransformer();
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount",
transformer.setOutputProperty("{https://xml.apache.org/xslt}indent-amount",
"4");
transformer.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, "yes");
ByteArrayOutputStream transformed = new ByteArrayOutputStream();