aboutsummaryrefslogtreecommitdiffstats
path: root/download.php
diff options
context:
space:
mode:
authorBlista Kanjo2023-07-10 03:31:11 -0400
committerBlista Kanjo2023-07-10 03:31:11 -0400
commit62fc93d9e8690db7c41f758cab39ba75f56e141e (patch)
treecb9378d8f05da45f259879edf2400a736b985c79 /download.php
parent3dd6a8b9f1b8635088502780de51cc9ca3d4e34a (diff)
refactor: going ASCII only mode due to some regression
Diffstat (limited to 'download.php')
-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);