summaryrefslogtreecommitdiff
path: root/htmlua-parser/src/render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'htmlua-parser/src/render.rs')
-rw-r--r--htmlua-parser/src/render.rs2
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() {