added known issues

master
kirbylife 2021-03-07 20:08:57 -06:00
parent 1953027a48
commit 7cce076231
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,6 @@ cssifier("//a/b[contains(text(), 'hello')]")
```
### Known issues
[ ] invalid XPath selectors panic
[ ] invalid XPath return empty String
Contributors are welcome :).

View File

@ -97,5 +97,6 @@ mod tests {
cssifier("//a/b[contains(text(), 'hello')]").unwrap(),
"a b:contains(hello)"
);
assert_eq!(cssifier("*random shit//*").unwrap(), "");
}
}