aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/download.php b/download.php
index d7e8883..fa0f9fd 100644
--- a/download.php
+++ b/download.php
@@ -44,7 +44,7 @@
$userMarkdown = escapeshellarg($_SESSION["user-input"]);
$conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex --include-in-header=output/header.tex";
- $createPushFile = "echo $userMarkdown | sed 's/'\"'\"'/’/g' > output/'$push'";
+ $createPushFile = "echo $userMarkdown | iconv -c -t ASCII//TRANSLIT | sed 's/'\"'\"'/’/g' > output/'$push'";
$createConvertFile = "cat $templateFile output/'$push' > output/'$convert'";
shell_exec($createPushFile);