mirror of
https://github.com/lise-henry/crowbook
synced 2024-05-28 05:46:23 +02:00
Fix double rendering of markdown in HTML titles
This commit is contained in:
parent
8be5884b67
commit
5c5e0bd0a3
|
@ -1020,7 +1020,7 @@ impl Book {
|
|||
|
||||
match String::from_utf8(res) {
|
||||
Err(_) => panic!(lformat!("header generated by mustache was not valid utf-8")),
|
||||
Ok(res) => f(&res),
|
||||
Ok(res) => Ok(res),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ rendering.initials:bool:false # {renderin
|
|||
rendering.inline_toc:bool:false # {inline_toc}
|
||||
rendering.inline_toc.name:str:\"{{{{{{loc_toc}}}}}}\" # {toc_name}
|
||||
rendering.num_depth:int:1 # {num_depth}
|
||||
rendering.chapter.template:str:\"{{{{{{number}}}}}}\\\\. {{{{{{chapter_title}}}}}}\" # {chapter_template}
|
||||
rendering.chapter.template:str:\"{{{{{{number}}}}}}. {{{{{{chapter_title}}}}}}\" # {chapter_template}
|
||||
rendering.chapter.roman_numerals:bool:false # {roman_numerals_chapters}
|
||||
rendering.part.template:str:\"{{{{{{loc_part}}}}}} {{{{{{number}}}}}}\" # {part_template}
|
||||
rendering.part.roman_numerals:bool:true # {roman_numerals_parts}
|
||||
|
|
Loading…
Reference in New Issue