-
-
Save anonymous/dac8efdb7c90206acffe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/_plugins/asciidoc.rb | |
+++ b/_plugins/asciidoc.rb | |
@@ -12,7 +12,7 @@ module Jekyll | |
end | |
def convert(content) | |
- Asciidoctor.load(content, {:attributes => {'imagesdir' => '../'}}).render | |
+ Asciidoctor.load(content, {:attributes => {'imagesdir' => '../', 'secure' => 0}}).render | |
end | |
end | |
end |
Add allow-uri-read
Asciidoctor.load(content, :safe => 0, :attributes => {'imagesdir' => '../', 'allow-uri-read' => true}).render
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
:asciidoctor-source: https://raw2.github.com/aerogear/aerogear.org/master/docs/guides/aerogear-push-js
include::{asciidoctor-source}/unifiedpush-server.asciidoc[]