Try to fix some CORS problems
Change-Id: If77e120ba380678bd2296c5bed61f65ab9438442
diff --git a/ci/html2pdf b/ci/html2pdf
index b16a183..328ed3e 100755
--- a/ci/html2pdf
+++ b/ci/html2pdf
@@ -1,4 +1,4 @@
#!/bin/sh -eu
in=$1 out=$2 page0=${3:-} page1=${4:-$page0}
-google-chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies,LazyFrameLoading --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-startup-window --disable-gpu --run-all-compositor-stages-before-draw --no-pdf-header-footer --print-to-pdf="$out".tmp "$in"
+google-chrome --disable-web-security --user-data-dir="./" --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies,LazyFrameLoading --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-startup-window --disable-gpu --run-all-compositor-stages-before-draw --no-pdf-header-footer --print-to-pdf="$out".tmp "$in"
pdfseparate -f 1 -l 1 "$out".tmp $out
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 01556c9..d16973d 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -43,9 +43,9 @@
$endfor$
<style>
-@import url('//code.cdn.mozilla.net/fonts/fira.css');
-@import url('//korap.ids-mannheim.de/font/libertinus.css');
-@import url('//korap.ids-mannheim.de/font/fira-condensed.css');
+@import url('https://code.cdn.mozilla.net/fonts/fira.css');
+@import url('https://korap.ids-mannheim.de/font/libertinus.css');
+@import url('https://korap.ids-mannheim.de/font/fira-condensed.css');
@page {
size: $if(poster_width)$$poster_width$$else$841mm$endif$ $if(poster_height)$$poster_height$$else$1189mm$endif$;
margin: 0 0 2.54cm 0;
diff --git a/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
index ef72d11..ef09f6d 100644
--- a/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
+++ b/inst/rmarkdown/templates/posterdown_ids/skeleton/skeleton.Rmd
@@ -45,7 +45,7 @@
1. Easy to use reproducible poster design. [^1]
2. Integration with R Markdown.
-3. Easy transition from `posterdown` to `pagedown` report or manuscript documents [@R-pagedown].
+3. Easy transition from `posterdown` ➝ `pagedown` report or manuscript documents [@R-pagedown].
[^1]:Footnotes are possible, too.