diff options
author | Jovansonlee Cesar <ivanceras@gmail.com> | 2020-11-25 23:26:11 +0800 |
---|---|---|
committer | Jovansonlee Cesar <ivanceras@gmail.com> | 2020-11-25 23:26:11 +0800 |
commit | 9801decfb1b58c2f06756cafa9fd94b75fcbfdc9 (patch) | |
tree | e37e6cf49159025a8e7f6c39c4ceac618eaed648 | |
parent | 7b3fb92e73d825480c1e211434aa9e714ddff729 (diff) |
put back the with-dom feature since it is used in text-node rendering
-rw-r--r-- | svgbob/Cargo.toml | 9 | ||||
-rw-r--r-- | svgbob/TODO.md | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/svgbob/Cargo.toml b/svgbob/Cargo.toml index 495c745..773cafa 100644 --- a/svgbob/Cargo.toml +++ b/svgbob/Cargo.toml @@ -17,3 +17,12 @@ sauron = { version = "0.32" } unicode-width = "0.1.5" itertools = "0.8.0" pom = { version = "3.1.0" } + + + +[features] +# This affects the rendering of text nodes +# if the svg is rendered statically, characters such as '<' needed to be escaped +# while if it is rendered in the dom, no escaping is needed. +with-dom = [] + diff --git a/svgbob/TODO.md b/svgbob/TODO.md index 2ccf823..19c8dcf 100644 --- a/svgbob/TODO.md +++ b/svgbob/TODO.md @@ -15,3 +15,4 @@ - [ ] Use perfect hashmap [phf](https://crates.io/crates/phf) to efficiently build the maps(unicode_map, circle_map, ascii_map) at compile time. - [ ] Fix the double arrow issue When there is 2 arrows in the middle of a line `---->>-------` or `----<<----` +- [ ] Clean the project enforce deny warnings. |