1
0
Fork 0
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:
Elisabeth Henry 2017-03-21 01:12:08 +01:00
parent 8be5884b67
commit 5c5e0bd0a3
2 changed files with 2 additions and 2 deletions

View File

@ -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),
}
}

View File

@ -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}