figer update
This commit is contained in:
@@ -2161,10 +2161,10 @@ class Production extends Base
|
||||
|
||||
|
||||
|
||||
// if (!empty($ami_info['title'])) {
|
||||
// $escapedTitle = $this->escapeLatexSpecialChars(strip_tags($ami_info['title']));
|
||||
// $latexLines[] = " \\caption{" . $escapedTitle . "}";
|
||||
// }
|
||||
if (!empty($ami_info['title'])) {
|
||||
$escapedTitle = $this->convertToLatex(preg_replace('/^Figure\s+\d+\s*/i', '', $ami_info['title']),[]);
|
||||
$latexLines[] = " \\caption{" . $escapedTitle . "}";
|
||||
}
|
||||
//
|
||||
// if (!empty($ami_info['note'])) {
|
||||
// $escapedNote = $this->escapeLatexSpecialChars(strip_tags($ami_info['note']));
|
||||
|
||||
Reference in New Issue
Block a user