This commit is contained in:
parent
6488f3ddb7
commit
00fb91b96f
3 changed files with 20 additions and 2 deletions
|
|
@ -46,7 +46,10 @@ impl TokenOutput {
|
|||
pub fn parse(text: &str, graph: &Graph) -> String { parser::read(text, graph) }
|
||||
|
||||
pub fn rich_parse(text: &str, graph: &Graph) -> TokenOutput {
|
||||
parser::rich_read(text, graph)
|
||||
parser::rich_read(
|
||||
&text.replace("{{ en_version }}", env!("CARGO_PKG_VERSION")),
|
||||
graph,
|
||||
)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue