-
When using `raw_html` with self closing tags that contain some text, the said text is lost in the output. This becomes problematic when trying to get the xml content for rss items etc.
For example,…
-
Example code:
```elixir
iex> html = "1"
"1"
iex> Floki.find(html, "#my_select > option:not([value=''])")
** (FunctionClauseError) no function clause matching in Floki.SelectorParser.do_parse/2
…
Eiji7 updated
7 years ago
-
I'm trying to extract the body of some comments on HackerNews. If I select the surrounding "div" element and then put it through `Floki.raw_html/1`, everything seems good. However, if I select an inne…
-
Hello! Thanks for this html sanitizing library, it's awesome and I'm using it a lot...
However I need Floki included as well for various reasons and that uses just the mochiweb_html package that onl…
-
Hey, today I installed **Rust** and decided to try this library ...
Here is example HTML5 document (`index.html`):
```html
Example
Example header
Examp…
Eiji7 updated
7 years ago
-
For this code:
```html
1 2
```
I run:
```elixir
Floki.find(html, "span + a")
```
Expected results:
```elixir
[{"a", [], ["2"]}]
```
Actual results:
```elixir
[]
```
**Note**:
Wit…
Eiji7 updated
7 years ago
-
## Example code:
```elixir
html = "\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tLicense Number: 375\n\t\t\t\t\tCurrent Date: 03/01/2017 10:06 AM\n\t\t\t\t\n\t\t\t\n\t\t…
Eiji7 updated
7 years ago
-
I keep getting errors when dropping it into a blank project. What is the basic config for getting it up and running? Maybe an example might help or instructions on how to integrate into your project …
-
Hi Fred, Advice?
I looked at your code, and here's my understanding so far:
Every new url to be parsed gets a new child Worker spun up, then you cast an (opts) message to the worker, and the worke…
-
**Problem**:
Definition `PARENTESIS = \([^)]*\)` from the selector lexer captures the next closing paren but not the *balanced* closing paren, which mis-tokenizes selectors such as `:not(:nth-child(2…