Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #53 from brycelelbach/callbacks/noop
Browse files Browse the repository at this point in the history
Add a `noop` Inja callback for whitespace trimming
  • Loading branch information
matusnovak authored Jun 25, 2021
2 parents 0bfcfaf + d8d8551 commit 765021d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Doxybook/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ Doxybook2::Renderer::Renderer(const Config& config, const std::optional<std::str
}
return str;
});
env->add_void_callback("noop", 0, [](inja::Arguments& args) {});
// env->set_trim_blocks(false);
// env->set_lstrip_blocks(false);

Expand Down

0 comments on commit 765021d

Please # to comment.