diff options
| author | lukeflo | 2025-10-05 13:16:26 +0200 |
|---|---|---|
| committer | lukeflo | 2025-10-05 13:16:26 +0200 |
| commit | f84ebacd1ea47b09c58dd1ef1eaaf70feaacbe0f (patch) | |
| tree | 5d859c8f9859e66507c717727805d86b4543294e /src | |
| parent | 606716f064c1151ab9e8617ff76fd4b95f4a2c57 (diff) | |
| download | bibiman-f84ebacd1ea47b09c58dd1ef1eaaf70feaacbe0f.tar.gz bibiman-f84ebacd1ea47b09c58dd1ef1eaaf70feaacbe0f.zip | |
add some further text macros to be hidden
Diffstat (limited to 'src')
| -rw-r--r-- | src/bibiman/sanitize/optimized_sanitize.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bibiman/sanitize/optimized_sanitize.rs b/src/bibiman/sanitize/optimized_sanitize.rs index 8ee0115..336cc56 100644 --- a/src/bibiman/sanitize/optimized_sanitize.rs +++ b/src/bibiman/sanitize/optimized_sanitize.rs @@ -27,6 +27,8 @@ static LOOKUP: phf::Map<&'static str, (&'static str, Option<&'static str>)> = ph r"\hyphen" => ("-", None), r"\textbf" => ("", Some("")), r"\textit" => ("", Some("")), + r"\texttt" => ("", Some("")), + r"\textsc" => ("", Some("")), }; #[derive(Logos, Debug)] |
