diff options
| author | gyoder <70408179+gyoder@users.noreply.github.com> | 2025-07-08 11:44:13 -0600 |
|---|---|---|
| committer | gyoder <70408179+gyoder@users.noreply.github.com> | 2025-07-08 11:44:13 -0600 |
| commit | 88c262fe64cfd0e4385fc4e06f1c4f33054afa63 (patch) | |
| tree | e594e558e164ff39a0ab901446f972141e3d6c99 /htmlua-parser | |
| parent | 23885aba3f680e0ff764c4e94306125636532234 (diff) | |
bug: ignores error if theme folder does not exist
Diffstat (limited to 'htmlua-parser')
| -rw-r--r-- | htmlua-parser/src/render.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htmlua-parser/src/render.rs b/htmlua-parser/src/render.rs index 35c37f4..2e4ed87 100644 --- a/htmlua-parser/src/render.rs +++ b/htmlua-parser/src/render.rs @@ -146,7 +146,7 @@ pub fn process_syntax_highlighting(document: NodeRef) -> Result<NodeRef> { if !syntax_elements.is_empty() { // TODO: read from config let themes = PathBuf::from("/var/www/htmlua/themes"); - ts.add_from_folder(themes)?; + let _ = ts.add_from_folder(themes); } for node in syntax_elements { let attrs = match node.as_node().as_element() { |
