fi
ics="$(pdi_load "$coursefile")"
-htmlfile="${_DATA}/export/$(pdi_value "$ics" SUMMARY |URL |tr / _).html"
+htmlfile="${_DATA}/export/$(pdi_value "$ics" SUMMARY |unescape |tr \\n/ __).html"
pdffile=${htmlfile%.html}.pdf
pdi_date() {
export XDG_DATA_HOME="$_DATA/xdg_local"
lowriter --convert-to pdf --outdir "$_DATA/export/" "$htmlfile" >/dev/null
-REDIRECT "/export/${pdffile##*/}"
+REDIRECT "$(URL "/export/${pdffile##*/}")"