Use HTTPS for external links where possible
See gh-610
This commit is contained in:
committed by
Andy Wilkinson
parent
2cfe47a330
commit
1fa4c293c6
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user