Closed dashed closed 9 years ago
Do you see that with just --self-contained
?
The alternative is to write to a temp file and point the src to that. I had a spike working of this before, but I didn't try it with mathjax.
On Tue, Mar 11, 2014 at 7:21 PM, Alberto Leal notifications@github.comwrote:
Wondering if this is possible.
With options: -s -S --ascii --mathjax, I get the error:
Uncaught SecurityError: Access to 'cookie' is denied for this document. Cookies are disabled inside 'data:' URLs.
Same error occurs with --self-contained.
Would there be a better way than the iframe src way as it is implemented?
Reply to this email directly or view it on GitHubhttps://github.com/jagregory/atom-pandoc-preview/issues/10 .
James Gregory
Tel: +61 (0) 411 619 513 Website: http://jagregory.com Twitter: @jagregory http://twitter.com/jagregory
With and without --self-contained
.
You're restricted with what you can do in data URLs. The usual business of referencing file://...
urls won't work either because of security concerns.
Wondering if this is possible.
With options:
-s -S --ascii --mathjax
, I get the error:Same error occurs with
--self-contained
.Would there be a better way than the iframe src way as it is implemented?