From 5f9f16b2229ee748fd48c9f665b7783c3182a754 Mon Sep 17 00:00:00 2001 From: tudacs Date: Mon, 20 Aug 2018 20:56:24 +0200 Subject: [PATCH] Add Havek C (UTF-8 268/269) conversion to latex2html (#91) --- bibtexbrowser.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 3ca725d..89e4cdf 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -1075,6 +1075,9 @@ function latex2html($line, $do_clean_extra_bracket=true) { $line = str_replace('\\k{a}','ą',$line); $line = str_replace('\\\'{c}','ć',$line); + $line = str_replace('\\v{c}','č',$line); + $line = str_replace('\\v{C}','Č',$line); + if ($do_clean_extra_bracket) { // clean extra tex curly brackets, usually used for preserving capitals // must come before the final math replacement