]> Devi Nivas Git - chevron.git/commit
[Feature] Add the ability to keep unknown tags
authorDylan Brotherston <22044664+Dylan-Brotherston@users.noreply.github.com>
Sat, 20 Mar 2021 15:14:28 +0000 (02:14 +1100)
committerDylan Brotherston <22044664+Dylan-Brotherston@users.noreply.github.com>
Sat, 20 Mar 2021 15:14:28 +0000 (02:14 +1100)
commitbce179372f18022dc1e35b81a5aca61a38ae59f7
tree31d4409e9234ef30baab25150cb6bc144fd3aae9
parent90413a2dd56e06e1a493aa703907febe43966ca3
[Feature] Add the ability to keep unknown tags

Add a new option `keep` (default: False) to `chevron.renderer.render()` that allows for unknown tags to be kept in the returned string for later processing, eg: `eval()`.
chevron/renderer.py